1 | import { DocumentationObject, MethodDescriptor, PropDescriptor } from 'react-docgen';
|
2 | import { RequireItResult } from './RsgRequireItResult';
|
3 | export interface MethodWithDocblock extends MethodDescriptor {
|
4 | docblock: string;
|
5 | }
|
6 | export interface TempPropsObject extends DocumentationObject {
|
7 | displayName: string;
|
8 | visibleName?: string;
|
9 | methods?: MethodWithDocblock[];
|
10 | doclets: Record<string, any>;
|
11 | example?: RequireItResult | null;
|
12 | }
|
13 | export interface PropsObject extends Omit<TempPropsObject, 'props'> {
|
14 | props?: Record<string, PropDescriptor> | PropDescriptor[];
|
15 | examples?: RequireItResult | null;
|
16 | }
|