aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/modals/input.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components/modals/input.tsx')
-rw-r--r--packages/website/ts/@next/components/modals/input.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/modals/input.tsx b/packages/website/ts/@next/components/modals/input.tsx
index 33dfb1146..61663d906 100644
--- a/packages/website/ts/@next/components/modals/input.tsx
+++ b/packages/website/ts/@next/components/modals/input.tsx
@@ -13,7 +13,11 @@ interface InputProps {
type?: string;
}
-export const Input = React.forwardRef((props: InputProps, ref) => {
+interface LabelProps {
+ string: boolean;
+}
+
+export const Input = React.forwardRef((props: InputProps, ref?: React.Ref<HTMLInputElement>) => {
const { name, label, type } = props;
const id = `input-${name}`;
const componentType = type === 'textarea' ? 'textarea' : 'input';