check
Code copied to clipboard.
close
menu
menu_open
menu

SelectProps

Describes props for the Select component.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

interface SelectProps {

 label?: string;

 labelPosition?: "default" | "on-input";

 helpText?: string;

 placeholderText?: string;

 options: Option[];

 value: string;

 onChange: (event: React.ChangeEvent<HTMLSelectElement>) => void;

 name?: string;

 children: React.ReactNode;

}

Related Components

Components that use this type.

No items found.

Related Types

Types with similar roles.

No items found.