This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/generators/component/Component.stories.tsx.hbs
2021-10-24 05:48:06 +02:00

16 lines
451 B
Handlebars

import { Meta, Story } from '@storybook/react'
import { {{ properCase name }} as Component, {{ properCase name }}Props } from './{{ properCase name }}'
const Stories: Meta = {
title: '{{ properCase name }}',
component: Component
}
export default Stories
export const {{ properCase name }}: Story<{{ properCase name }}Props> = (arguments_) => {
return <Component {...arguments_} />
}
{{ properCase name }}.args = { className: 'text-center' }