Howardblog.howardphung.comยทJul 6, 2024How to Write Stories in StorybookLet's say we have a very simple button. In the src/components/button.tsx import { ComponentProps } from 'react'; type ButtonProps = ComponentProps<'button'>; export const Button = (props: ButtonProps) => { return <button {...props} />; }; Next...StorybookAdd a thoughtful commentNo comments yetBe the first to start the conversation.