import { FormControl } from 'components/FormControl' import { StyledInput } from 'components/forms/StyledInput' import type { ComponentPropsWithRef } from 'react' import { forwardRef } from 'react' interface BaseProps { id: string name: string title: string subtitle?: string isRequired?: boolean } type SlicedInputProps = Omit, keyof BaseProps> export type FormInputProps = BaseProps & SlicedInputProps export const FormInput = forwardRef( function FormInput(props, ref) { const { id, name, title, subtitle, isRequired, className, ...rest } = props return ( ) }, // ) export const AddressInput = forwardRef( function AddressInput(props, ref) { return ( ) }, // ) export const ValidatorAddressInput = forwardRef( function ValidatorAddressInput(props, ref) { return ( ) }, // ) export const NumberInput = forwardRef( function NumberInput(props, ref) { return }, // ) export const TextInput = forwardRef( function TextInput(props, ref) { return }, // ) export const CheckBoxInput = forwardRef( function CheckBoxInput(props, ref) { return (
) }, // ) export const UrlInput = forwardRef( function UrlInput(props, ref) { return }, // ) export const TraitTypeInput = forwardRef( function TraitTypeInput(props, ref) { return }, // ) export const TraitValueInput = forwardRef( function TraitValueInput(props, ref) { return }, // )