@violetui/text
TypeScript icon, indicating that this package has built-in type declarations

0.1.1-beta.0 • Public • Published

@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

  1. size(optional): | "displayLarge" | "displayMedium" | "displaySmall" | "headlineLarge" | "headlineMedium" | "headlineSmall" | "titleLarge" | "titleMedium" | "titleSmall" | "bodyLarge" | "bodyMedium" | "bodySmall" | "labelLarge" | "labelMedium" | "labelSmall"

  2. as(optional): "p" | "span"

Readme

Keywords

none

Package Sidebar

Install

npm i @violetui/text

Weekly Downloads

1

Version

0.1.1-beta.0

License

MIT

Unpacked Size

62.8 kB

Total Files

9

Last publish

Collaborators

  • syaw0