@dxos/react-ui
    Preparing search index...

    Type Alias RootProps

    RootProps: InputHTMLAttributes<HTMLInputElement> & {
        copyable?: boolean;
        "data-testid"?: string;
        end?: ReactNode;
        noAutoFill?: boolean;
        start?: ReactNode;
        variant?: FrameVariant;
    }

    Type declaration

    • Optionalcopyable?: boolean

      Trails the input with a copy button for its current value (e.g. a read-only id); replaces end.

    • Optionaldata-testid?: string
    • Optionalend?: ReactNode

      Trailing content inside the control row (an Icon, a unit, or an icon-only Button).

    • OptionalnoAutoFill?: boolean

      Ask password managers not to offer autofill (data-1p-ignore), e.g. for a search box.

    • Optionalstart?: ReactNode

      Leading content inside the control row (an Icon, or short text such as a currency).

    • Optionalvariant?: FrameVariant

      subdued drops the well, for an input on a surface that already reads as editable; mono is for keys and ids.