Themable Label
Open
theming
- Dominant language
- JavaScript
- Stars
- 193
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
As a developer
I can place a label independently from a field
so I can layout my app as needed
---
### Dev notes
This component should only need a presenter.
Model the testing strategy after `Input`s presenters (snapshots + gemini for each theme).
---
### Examples
_Typical use_
```jsx
Full name
```
_When disabled_
```jsx
Full name
```
### PropTypes
```js
Label.propTypes = {
/** Content identifying a related field */
children: PropTypes.node,
/** Reduces visual prominence of label */
disabled: PropTypes.bool,
/** The id of a labelable form-related element in the same document */
htmlFor: PropTypes.string
}
```
Contributor guide
Assessment
This issue has not been assessed yet.