Skip to content

Commit

Permalink
Update styled.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanjtc authored Jun 6, 2024
1 parent 2d1321a commit 9ade79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const paraGraphDefaultStyle = {

interface ButtonBaseProps
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
type: React.ButtonHTMLAttributes<HTMLButtonElement>['type'];
type?: React.ButtonHTMLAttributes<HTMLButtonElement>['type'];
}

const ButtonBase = ({ type = 'button', ...props }: ButtonBaseProps) => {
Expand Down

0 comments on commit 9ade79f

Please sign in to comment.