Text
Manage a basic paragraph.
Installation
npm
npx maiton add text
Usage
import { Text } from "../components/Text";
<Text>Text</Text>
Props
The Text
component consists of a p
, so you can pass its default props
props.
size
Description | The text size |
---|---|
Type | sm | md | lg | undefined |
Default | md |