Storybookã«ããã¦ãReactã³ã³ãã¼ãã³ãã使ã£ãstoryãä½æããéãåãªããã¿ã³ã®ãããªã·ã³ãã«ãªã³ã³ãã¼ãã³ãã§ããã°componentããããã£ã«æå®ããã ãã§è¯ãã ãªããã®è¨äºã§ã®è§£èª¬ã¯ãStorybookã®ãã¼ã¸ã§ã³8.1.1ã«åºã¥ãããã®ã§ããã Button.tsx: import { MouseEvent, ReactNode } from 'react'; export interface ButtonProps { children?: ReactNode | undefined; onClick?: ((event: MouseEvent<HTMLButtonElement>) => void) | undefined; } export function Button({ children, onClick }: ButtonProps) { ret

{{#tags}}- {{label}}
{{/tags}}