/**
* 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:
Componentpage with props represented as__namedParameters: ComponentProps(whereComponentPropsare linked, which it's ok)ComponentPropspage with list of types and name
Can I somehow make to show/list props with types on Component page?