UNPKG

payload

Version:

Node, React and MongoDB Headless CMS and Application Framework

10 lines 435 B
import React from 'react'; export type DescriptionFunction = () => string; export type DescriptionComponent = React.ComponentType<any>; type Description = DescriptionComponent | DescriptionFunction | Record<string, string> | string; export type Props = { description?: Description; }; export declare function isComponent(description: Description): description is DescriptionComponent; export {}; //# sourceMappingURL=types.d.ts.map