add reset button

This commit is contained in:
Sanster
2022-02-06 21:40:49 +08:00
parent b4dc7a0253
commit 0814b07ef9
2 changed files with 13 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ export default function Button(props: ButtonProps) {
}}
tabIndex={-1}
className={[
'inline-flex py-3 px-5 rounded-md cursor-pointer',
'inline-flex py-3 px-3 rounded-md cursor-pointer',
children ? 'space-x-3' : '',
background,
disabled ? 'pointer-events-none opacity-50' : '',