2023-05-17 11:57:45 +03:00
|
|
|
import type {Meta, StoryObj} from '@storybook/react';
|
|
|
|
|
2023-06-07 12:53:27 +03:00
|
|
|
import BoilerPlate from './Boilerplate';
|
2023-05-17 11:57:45 +03:00
|
|
|
|
|
|
|
const meta = {
|
2023-11-21 09:49:41 +03:00
|
|
|
title: 'Meta / Boilerplate',
|
2023-06-07 12:53:27 +03:00
|
|
|
component: BoilerPlate,
|
2023-05-17 11:57:45 +03:00
|
|
|
tags: ['autodocs']
|
2023-06-07 12:53:27 +03:00
|
|
|
} satisfies Meta<typeof BoilerPlate>;
|
2023-05-17 11:57:45 +03:00
|
|
|
|
|
|
|
export default meta;
|
2023-06-07 12:53:27 +03:00
|
|
|
type Story = StoryObj<typeof BoilerPlate>;
|
2023-05-17 11:57:45 +03:00
|
|
|
|
|
|
|
export const Default: Story = {
|
2023-06-07 12:53:27 +03:00
|
|
|
args: {
|
|
|
|
children: 'This is a boilerplate component. Use as a basis to create new components.'
|
|
|
|
}
|
2023-05-19 18:56:52 +03:00
|
|
|
};
|