Text
The <Text /> component replaces <p> or <div>.
Uses Tailwind CSS font size scaling.
import { Text } from 'minerva-ui';Text
Text Font Sizes
Extra Small Text
Small Text
Medium Text
Large Text
Extra Large Text
2x Large Text
Props
These are props related to the Text component.
| Name | Type | Is Required | Default | Description |
|---|---|---|---|---|
lineHeight | string | optional | normal | Sets line height of font |