Skip to content

Commit

Permalink
Update type
Browse files Browse the repository at this point in the history
  • Loading branch information
sivert-io committed Mar 15, 2023
1 parent 2dcf04b commit 3c85666
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type buttonSize =
| 'btn-xs'
| 'btn-wide'
| 'btn-block'
type buttonParameterType = {
interface buttonParameterType extends React.HTMLAttributes<HTMLButtonElement> {
children?: any
className?: string
type?: buttonType
Expand All @@ -39,9 +39,7 @@ export function Button({
noAnimation,
size,
...props
}: buttonParameterType): React.ButtonHTMLAttributes<
buttonParameterType & HTMLButtonElement
> {
}: buttonParameterType) {
return (
<button
className={`${className ?? ''} btn gap-2 ${type ?? ''} ${
Expand Down

0 comments on commit 3c85666

Please sign in to comment.