import * as React from 'react'; import type { PlateStoreState, PlatePlugin } from '@udecode/plate-core'; export interface CangjieProps { /** * The chilren rendered inside Cangjie */ children?: React.ReactNode; /** * Initial value of the editor * @default [{ chilren: [{ text:'' }]}] */ initialValue?: PlateStoreState['value']; /** * extraPlugis need to append to * @default [] */ extraPlugins: PlatePlugin[]; } export default function Cangjie(props: CangjieProps): JSX.Element;