Open yarastqt opened 4 years ago
Add feature for extract props from component.
Example component:
type ButttonProps = { type: string } export const Button: FC<ButtonProps> = () => {}
Example declaration:
export default { parameters: { docs: { readme: '...', props: { ButtonProps: Button } } } }
Examples usage via placeholder:
{{%props::ButtonProps%}}
Proposal
Add feature for extract props from component.
Usage
Example component:
Example declaration:
Examples usage via placeholder: