elemental-design / elemental-design/elemental-react
Infer lineHeight prop from resolved style font size
Open
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
If someone isn't passing a `fontSize` prop, but a `style` object instead, then we should extract the font size with `StyleSheet.resolve()` and use it as a default `lineHeight` value, potentially adding a configurable multiplier and grid rounding number in the theme object.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.