Skip to content

Commit ff8ba68

Browse files
committed
refactor(#49): 불필요한 children 명시 제거 및 ButtonProps export 처리
1 parent 86bb305 commit ff8ba68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/ui/Button/Button.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { button } from "./Button.css";
55
type ButtonVariant = "primary" | "dark" | "assistive";
66
type ButtonSize = "small" | "medium" | "large" | "fullWidth";
77

8-
type ButtonProps = {
9-
children: React.ReactNode;
8+
export type ButtonProps = {
109
variant?: ButtonVariant;
1110
size?: ButtonSize;
1211
} & ComponentPropsWithoutRef<"button">;

0 commit comments

Comments
 (0)