I have a shared TS interface definition that I used throughout a component and it's sub-components. I'd like to display this interface and any prop comments in the props table.
An example of this type of definition is
|
export type EuiPopoverPosition = 'top' | 'right' | 'bottom' | 'left'; |
which lives in it's own file.
I'd like to be able to do something like
import { EuiPopoverPosition } from '../../.....'
{
props: { EuiPopoverPosition }
}
in the docs.
I have a shared TS interface definition that I used throughout a component and it's sub-components. I'd like to display this interface and any prop comments in the props table.
An example of this type of definition is
eui/src/services/popover/types.ts
Line 1 in 4ce7bc7
which lives in it's own file.
I'd like to be able to do something like
in the docs.