From 821ef4c41b6f3e3002083f3681def4360b698102 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 2 Jan 2023 00:53:57 -0800 Subject: [PATCH] Passing javascript true to DOM element --- components/Input/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Input/index.tsx b/components/Input/index.tsx index f63d657f..edb6fdf9 100644 --- a/components/Input/index.tsx +++ b/components/Input/index.tsx @@ -8,13 +8,13 @@ interface Props React.InputHTMLAttributes, HTMLInputElement > { - visible?: boolean + visible?: string error?: string label?: string } const defaultProps = { - visible: true, + visible: 'true', } const Input = React.forwardRef(function Input(