@violetui/text
v0.1.1-beta.0
Published
Vui Text Component Repository.
Downloads
8
Readme
@violetui/text
Usage
first import the Text component:
const Text = require('@violetui/text');
// or
import Text From '@violetui/text'
use it:
<Text size="displayLarge">Some Text</Text>
Props
size(optional): | "displayLarge" | "displayMedium" | "displaySmall" | "headlineLarge" | "headlineMedium" | "headlineSmall" | "titleLarge" | "titleMedium" | "titleSmall" | "bodyLarge" | "bodyMedium" | "bodySmall" | "labelLarge" | "labelMedium" | "labelSmall"
as(optional): "p" | "span"