mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 06:29:28 +00:00
21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
import { Button } from './Button';
|
|
|
|
const meta: Meta<typeof Button> = {
|
|
title: 'Components/Button',
|
|
component: Button,
|
|
tags: ['v2'],
|
|
argTypes: {}
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof Button>;
|
|
|
|
// More on writing stories with args: https://storybook.js.org/docs/7.0/react/writing-stories/args
|
|
export const Primary: Story = {
|
|
args: {
|
|
children: 'Hello Infisical'
|
|
}
|
|
};
|