Interface SelectComponentProps

interface SelectComponentProps {
    alignment?: "left" | "right";
    defaultValue?: string | number;
    onBlur?: (() => void);
    onChange?: ((option, index) => void);
    onFocus?: (() => void);
    options: readonly SelectOption[];
}

Properties

alignment?: "left" | "right"
defaultValue?: string | number
onBlur?: (() => void)

Type declaration

    • (): void
    • Returns void

onChange?: ((option, index) => void)

Type declaration

    • (option, index): void
    • Parameters

      Returns void

onFocus?: (() => void)

Type declaration

    • (): void
    • Returns void

options: readonly SelectOption[]