UNPKG

@prisma-cms/editor

Version:
32 lines (31 loc) 936 B
export class TextBlock extends React.Component<any, any, any> { constructor(props: any); state: { editMode: boolean; lang: any; allow_edit: any; }; _onClick: () => void; _onValueChange: (evt: any) => void; _save: () => void; _remove: () => void; _startEdit: () => void; _finishEdit: (newContentState: any) => void; _getData(): any; _getValue(): any; _getLang(): any; UNSAFE_componentWillReceiveProps(nextProps: any): boolean; onLangClick: (event: any) => void; render(): JSX.Element | null; } export namespace TextBlock { export { propTypes }; export { defaultProps }; } declare const _default: React.ComponentType<import("material-ui/styles/withStyles").StyledComponentProps<"row" | "chip" | "svgIcon">>; export default _default; import React from 'react'; declare const propTypes: {}; declare namespace defaultProps { let lang: string; }