import React from "react"; import { InputWrapper, LabelWrapper } from "./style"; import { Label2 } from "../../typography"; import { StyledInput } from "../../base/Input"; export enum InputType { primary = "primary", secondary = "secondary" } interface IProps { label?: string; type?: InputType; inputProps?: Omit, "ref" | "as">; } export const Input = ({ label, inputProps, type }: IProps) => { return ( {type && type !== InputType.primary && label && ( {label} )} ); };