/**
* Interface of props of the Component
*/
export interface ComponentProps {
/**
* Name of sth
*/
name: string,
/**
* happening on click component
*/
onClick: () => void
}
/**
* @category Component
*/
export function Component({ name, onClick }: ComponentProps) {
(...)
}
When I'm generating docs via typedoc I got two pages:
Component
page with props represented as__namedParameters: ComponentProps
(whereComponentProps
are linked, which it's ok)ComponentProps
page with list of types and name
Can I somehow make to show/list props with types on Component
page?