adds type prop

This commit is contained in:
2026-05-12 21:47:24 -04:00
parent 377420574f
commit 4bdcf97ee3
+1 -1
View File
@@ -27,7 +27,7 @@ interface ButtonProps {
loading?: boolean
size?: 'sm' | 'md' | 'lg'
variant?: 'primary' | 'secondary' | 'danger'
type: 'button' | 'submit'
type?: 'button' | 'submit'
}
const {