import { Story } from '@storybook/react'; import { useState } from 'react'; import { Title } from '..'; import Button from './Button'; import StretchContent from './StretchContent'; export default { title: 'Components/StretchContent', component: StretchContent, }; const Template: Story = () => { const [visible, setVisible] = useState(false); const [lines, setLines] = useState(['', '', '']); return (
Some title {lines.map((k) => ( ))}
Footer
); }; export const Default = Template.bind({}); Default.args = { // initialTags: ['regular', 'hello'], // placeholder: 'type anything', // onChange: (text: string) => {}, };