UNPKG

@edtr-io/plugin-text

Version:
11 lines 394 B
import * as React from 'react'; import { StateDescriptor } from './types'; export declare function child<K extends string, S = unknown, Props extends Record<string, unknown> = {}>(plugin?: K, state?: S): StateDescriptor<{ plugin: K; state?: S; }, string, { (): string; id: string; render: (props?: Props) => React.ReactNode; }>; //# sourceMappingURL=child.d.ts.map