Properties used by the DropdownItem component.

Hierarchy

Properties

id?: string

"Fills the ID of the element (not very practical)."

Example:

 <View id="id" />
label: string

Defined value to be passed in the onChange function in the Dropdown component.

Important: Use only String.

Example:

<DropdownItem label="text" />
transform?: string

"Prepare a position transforming of element"

Example:

 <View transform="rotate(45deg)" />
transition?: string

"Prepare a transition of visual state change"

Example:

 <View transition="background-color 0.5s ease-in-out" />
value: string

Value to be displayed on the client's screen.

Example:

<DropdownItem value="text" />
visualState?: "success" | "danger" | "warning"

"Determines the visual state of the component and its children."

Example:

 <View visualState="success" />