diff --git a/.vscode/settings.json b/.vscode/settings.json index 53f05374..44a913a6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { - "prettier.printWidth": 100, + "prettier.requireConfig": true, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.tabSize": 2 diff --git a/src/components/button/BlockBtn.tsx b/src/components/button/BlockBtn.tsx index 6ec6133e..5ca202e7 100644 --- a/src/components/button/BlockBtn.tsx +++ b/src/components/button/BlockBtn.tsx @@ -21,7 +21,8 @@ const blockBtnVariants = cva("h-13 w-full min-w-80 max-w-screen-sm rounded-lg fl }); export interface BlockBtnProps - extends React.ButtonHTMLAttributes, VariantProps { + extends React.ButtonHTMLAttributes, + VariantProps { onClick: () => void; children: React.ReactNode; } diff --git a/src/components/button/RoundBtn.tsx b/src/components/button/RoundBtn.tsx index a9dafa42..3b54019c 100644 --- a/src/components/button/RoundBtn.tsx +++ b/src/components/button/RoundBtn.tsx @@ -23,7 +23,8 @@ const roundBtnVariants = cva("h-[2.375rem] w-[6.375rem] rounded-3xl px-4 py-2.5 }); export interface RoundBtnProps - extends React.ButtonHTMLAttributes, VariantProps { + extends React.ButtonHTMLAttributes, + VariantProps { onClick?: () => void; children: React.ReactNode; }