Passing javascript true to DOM element

This commit is contained in:
Justin Edmund 2023-01-02 00:53:57 -08:00
parent ba6c45d551
commit 821ef4c41b

View file

@ -8,13 +8,13 @@ interface Props
React.InputHTMLAttributes<HTMLInputElement>,
HTMLInputElement
> {
visible?: boolean
visible?: string
error?: string
label?: string
}
const defaultProps = {
visible: true,
visible: 'true',
}
const Input = React.forwardRef<HTMLInputElement, Props>(function Input(