Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add description prop support to <Option> component #285

Merged
merged 2 commits into from
Dec 11, 2022

Conversation

yhatt
Copy link
Owner

@yhatt yhatt commented Dec 11, 2022

Added description prop support to <Option> component for static select (single/multiple). The description appears next to the item label in small gray text.

<Blocks>
  <Actions>
    <Select>
      <Option description="Description">Main label</Option>
    </Select>
  </Actions>
</Blocks>

Close #284.

@yhatt yhatt merged commit 1c92f08 into main Dec 11, 2022
@yhatt yhatt deleted the description-prop-for-option-element branch December 11, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Options's description
1 participant