Platform docs
Auth, users, webhooks & more
Info:
This is beta documentation for Stream Video React SDK v2. For the latest stable version, see the latest version (v1).

Dropdown select

The DropDownSelect utility component can be used to simply create a dropdown select component.

Props

Name Description Type
icon Icon to be shown next to the label of the selected item string | undefined
defaultSelectedLabel Label to be shown on default string
defaultSelectedIndex Sets the default selected option number
handleSelect Handler to handle the selected option (index: number) => void
children DropDownSelectOption ReactElement<DropDownSelectOptionProps> | ReactElement<DropDownSelectOptionProps[]>

You can provide the DropDownSelectOption as a child to the DropDownSelect

Name Description Type
label string
selected boolean | undefined
icon string
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Video React v2: <Your Question>