This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
Add ability to mark a Label required #137
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
released
Milestone
🚀 Feature Proposal
Add an ability to mark a label required.
A new prop called
isRequired
should be added to the label component. When true, there should be a red * added on the right hand side of the label. When false, no red star should be shown.Screen readers should be able to read the red star with some sort of alternative text so users using assistive technology can understand the star.
Motivation
Marking required fields in a form.
Example
Please provide an example for how this feature would be used.
related to #65
The text was updated successfully, but these errors were encountered: