feat : add type tp Button components
This commit is contained in:
@@ -9,6 +9,7 @@ function Button({ children, onClick, extra, active }: ButtonProps) {
|
|||||||
: ""
|
: ""
|
||||||
} ${extra}`}
|
} ${extra}`}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
|
type="button"
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user