@prisma-cms/front-editor
Version:
24 lines (23 loc) • 1.05 kB
TypeScript
import React from 'react';
import EditorComponent, { EditorComponentProps, EditorComponentState } from '../../EditorComponent';
declare class Typography<P extends EditorComponentProps = EditorComponentProps, S extends EditorComponentState = EditorComponentState> extends EditorComponent<P, S> {
static Name: "Typography";
static defaultProps: {
variant: string;
color: string;
text: string;
displayType: string;
display: string;
errorDelay: number;
SaveIcon: React.ComponentType<{}>;
ResetIcon: React.ComponentType<import("material-ui/SvgIcon").SvgIconProps>;
EditIcon: React.ComponentType<import("material-ui/SvgIcon").SvgIconProps>;
cacheKeyPrefix: string;
contentEditable: boolean | undefined;
};
renderPanelView(content?: React.ReactNode): React.ReactNode;
getRootElement(): React.ComponentType<import("material-ui/Typography").TypographyProps>;
getRenderProps(): any;
renderChildren(): JSX.Element;
}
export default Typography;