@prisma-cms/front-editor
Version:
22 lines (21 loc) • 660 B
TypeScript
export default EditableText;
declare class EditableText extends React.Component<any, any, any> {
static propTypes: {
onChange: PropTypes.Requireable<(...args: any[]) => any>;
components: PropTypes.Requireable<object>;
inEditMode: PropTypes.Validator<boolean>;
};
static defaultProps: {
allowedTags: never[];
inEditMode: boolean;
};
constructor(props: any);
updateContent(node: any): {
attributes: {};
};
renderContent(node: any, key: any): any;
makeNewContent(node: any): {};
onInput: (event: any) => void;
}
import React from "react";
import PropTypes from "prop-types";