SteamDeckHomebrew / decky-frontend-lib

The support library for creating plugins for decky
https://deckbrew.xyz
GNU Lesser General Public License v2.1
67 stars 33 forks source link

fix(Dropdown): correct Dropdown types #15

Closed FrogTheFrog closed 2 years ago

AAGaming00 commented 2 years ago

Is data displayed to the user? If so it should be ReactNode

FrogTheFrog commented 2 years ago

Nope, the only the label is displayed.

AAGaming00 commented 2 years ago

Nope, the only the label is displayed.

Do react nodes work as a label? If so that should be changed to ReactNode to allow for custom element labels.

FrogTheFrog commented 2 years ago

Nope, the only the label is displayed.

Do react nodes work as a label? If so that should be changed to ReactNode to allow for custom element labels.

You're correct, they do support nodes

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 1.7.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: