s-private API Documentation - v3.8.1
    Preparing search index...

    Type Alias FormInputWithButtonProps

    FormInputWithButtonProps: {
        buttonAriaLabel?: string;
        buttonIcon: React.ReactNode;
        buttonTestId?: string;
        htmlFor: string;
        inputRef?: RefObject<HTMLInputElement | null>;
        label: string;
        onButtonClick: () => void;
    } & Omit<ComponentProps<typeof Input>, "ref">

    Props for the FormInputWithButton component.

    Type Declaration

    • OptionalbuttonAriaLabel?: string

      Accessible label for the button (defaults to label)

    • buttonIcon: React.ReactNode

      Icon or content for the action button

    • OptionalbuttonTestId?: string

      Test id for the button element

    • htmlFor: string

      The HTML id for the input element

    • OptionalinputRef?: RefObject<HTMLInputElement | null>

      Optional ref to access the input element

    • label: string

      The label text displayed above the input

    • onButtonClick: () => void

      Callback when the button is clicked

    FormInputWithButton for the component