[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:
parent
c9f17899a6
commit
eb1674ec50
@ -22,6 +22,10 @@ interface PropsWithText extends BaseProps {
|
|||||||
|
|
||||||
type Props = PropsWithText | PropsChildren;
|
type Props = PropsWithText | PropsChildren;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Primary UI component for user interaction that doesn't result in navigation.
|
||||||
|
*/
|
||||||
|
|
||||||
export const Button: React.FC<Props> = ({
|
export const Button: React.FC<Props> = ({
|
||||||
type = 'button',
|
type = 'button',
|
||||||
onClick,
|
onClick,
|
||||||
Loading…
x
Reference in New Issue
Block a user