diff --git a/app/javascript/flavours/glitch/components/button.tsx b/app/javascript/flavours/glitch/components/button/index.tsx similarity index 93% rename from app/javascript/flavours/glitch/components/button.tsx rename to app/javascript/flavours/glitch/components/button/index.tsx index a527468f65..43f5901c74 100644 --- a/app/javascript/flavours/glitch/components/button.tsx +++ b/app/javascript/flavours/glitch/components/button/index.tsx @@ -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 = ({ type = 'button', onClick,