react-admin-component
Version:
react library
21 lines (20 loc) • 649 B
TypeScript
import React, { CSSProperties } from 'react';
declare type ContentEditableProps = {
html: string;
className?: string;
style?: CSSProperties;
valueType?: string;
onChange?: (params: any) => void;
};
declare class ContentEditable extends React.Component<ContentEditableProps> {
static defaultProps: {
valueType: string;
};
shouldComponentUpdate(nextProps: ContentEditableProps): boolean;
componentDidUpdate(): void;
domNode: HTMLDivElement | null | undefined;
lastHtml: string | undefined;
emitChange: () => void;
render(): JSX.Element;
}
export default ContentEditable;