diff --git a/apps/app/components/ui/button/index.ts b/apps/app/components/ui/button/index.ts new file mode 100644 index 000000000..2cfa60e09 --- /dev/null +++ b/apps/app/components/ui/button/index.ts @@ -0,0 +1 @@ +export * from "./primary-button"; diff --git a/apps/app/components/ui/button/primary-button.tsx b/apps/app/components/ui/button/primary-button.tsx new file mode 100644 index 000000000..1f5eae836 --- /dev/null +++ b/apps/app/components/ui/button/primary-button.tsx @@ -0,0 +1,32 @@ +type TButtonProps = { + children: React.ReactNode; + className?: string; + onClick?: () => void; + type?: "button" | "submit" | "reset"; + disabled?: boolean; + loading?: boolean; + size?: "sm" | "md" | "lg"; +}; + +export const PrimaryButton: React.FC = (props) => { + const { children, className, onClick, type, disabled, loading, size = "md" } = props; + + return ( + + ); +};