diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx index f65774b..78732e8 100644 --- a/src/components/Input/Input.tsx +++ b/src/components/Input/Input.tsx @@ -76,6 +76,8 @@ type Props = { type?: string; step?: string; + + name?: string; }; export const Input = forwardRef( @@ -98,6 +100,7 @@ export const Input = forwardRef( style, Icon, step, + name, type = "text", }, ref @@ -117,6 +120,8 @@ export const Input = forwardRef( )} ( ["input-icon-input", !!Icon], [className || ""] )} - id={id} style={style} {...attributes({ disabled,