Hello there! I wanted to try out displaying a TS interface in storybook and found ur addon. I got it working but I noticed that it will only put the top level keys in the table, is there any chance you will be adding support for nesting as well?
For example:
export interface Tokens {
/** The border with of the banner
* @default base.borderWidth
*/
borderWidth?: string;
/** Padding settings for the banner */
padding?: {
/** Inline padding of the banner; between the border and the content
* @default 'base.space.s 0'
*/
inline?: string;
/** Padding of the content
* @default 'base.space.xs 0'
*/
content?: string;
};
}
will render two lines where the type column of padding is { inline?: string; content?: string; }. I would expect two entries with names: padding.inline and padding.content. Do you agree?
Hello there! I wanted to try out displaying a TS interface in storybook and found ur addon. I got it working but I noticed that it will only put the top level keys in the table, is there any chance you will be adding support for nesting as well?
For example:
will render two lines where the type column of
paddingis{ inline?: string; content?: string; }. I would expect two entries with names:padding.inlineandpadding.content. Do you agree?