We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86bb305 commit ff8ba68Copy full SHA for ff8ba68
src/components/ui/Button/Button.tsx
@@ -5,8 +5,7 @@ import { button } from "./Button.css";
5
type ButtonVariant = "primary" | "dark" | "assistive";
6
type ButtonSize = "small" | "medium" | "large" | "fullWidth";
7
8
-type ButtonProps = {
9
- children: React.ReactNode;
+export type ButtonProps = {
10
variant?: ButtonVariant;
11
size?: ButtonSize;
12
} & ComponentPropsWithoutRef<"button">;
0 commit comments