interface LabelAndSelectProps {
    defaultValue?: string;
    disabled?: boolean;
    id: string;
    label: string;
    onChange?: ((event) => void);
    onKeyDown?: ((event) => void);
    options: string[];
    passRef?: LegacyRef<HTMLSelectElement>;
    placeholder?: string;
    title?: string;
    value?: string;
}

Hierarchy (view full)

Properties

defaultValue?: string
disabled?: boolean
id: string
label: string
onChange?: ((event) => void)

Type declaration

    • (event): void
    • Parameters

      • event: ChangeEvent<Element>

      Returns void

onKeyDown?: ((event) => void)

Type declaration

    • (event): void
    • Parameters

      • event: KeyboardEvent<HTMLInputElement>

      Returns void

options: string[]
passRef?: LegacyRef<HTMLSelectElement>
placeholder?: string
title?: string
value?: string