export default class ToggleBlockType extends React.Component { static propTypes: { onChange: PropTypes.Validator<(...args: any[]) => any>; editorState: PropTypes.Validator; blockType: PropTypes.Validator; icon: PropTypes.Validator<(...args: any[]) => any>; }; constructor(props: any); constructor(props: any, context: any); toggleBlockType: () => void; getSelectionEntity(editorState: any): any; getEntityRange(editorState: any, entityKey: any): undefined; getSelectedBlocksList(editorState: any): any; /** * Function returns the first selected block. */ getSelectedBlock(editorState: any): any; getSelectedBlocksMap(editorState: any): any; renderIcon(): JSX.Element; isDisabled(): any; isTextSelected(): any; getSelectionText(editorState: any): string; render(): JSX.Element; } import React from 'react'; import PropTypes from 'prop-types';