[Glitch] feat: Add Storybook for component documentation, testing, and development

Port f2cfa4f482ff49831b88abb0a74977aec5a9b0c1 to glitch-soc

Co-authored-by: Echo <ChaosExAnima@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion 2025-06-06 11:27:29 +02:00 committed by Claire
parent c9f17899a6
commit eb1674ec50

View File

@ -22,6 +22,10 @@ interface PropsWithText extends BaseProps {
type Props = PropsWithText | PropsChildren;
/**
* Primary UI component for user interaction that doesn't result in navigation.
*/
export const Button: React.FC<Props> = ({
type = 'button',
onClick,