Hex Core JS
    Preparing search index...

    Type Alias InputProps

    InputProps: React.DetailedHTMLProps<
        React.InputHTMLAttributes<HTMLInputElement>,
        HTMLInputElement,
    > & {
        after?: React.ReactNode;
        before?: React.ReactNode;
        gap?: string | number;
    }

    Type Declaration

    • Optionalafter?: React.ReactNode

      A component to render after the input. If the given value is a non-empty string, padding will be provided automatically, otherwise no padding is added.

    • Optionalbefore?: React.ReactNode

      A component to render before the input. If the given value is a non-empty string, padding will be provided automatically, otherwise no padding is added.

    • Optionalgap?: string | number

      The gap between the before and after components and the input.