| 1234567891011121314151617181920212223242526272829 |
- import type { Meta, StoryObj } from "@storybook/react";
- import { Term as TermComponent } from "./index.js";
- const meta = {
- component: TermComponent,
- argTypes: {
- children: {
- control: "text",
- table: {
- category: "Contents",
- },
- },
- term: {
- control: "text",
- table: {
- category: "Contents",
- },
- },
- },
- } satisfies Meta<typeof TermComponent>;
- export default meta;
- export const Term = {
- args: {
- term: "Term",
- children: "This is a description",
- },
- } satisfies StoryObj<typeof TermComponent>;
|