style-component-library

1.0.2 • Public • Published

React style-components Ui-Kit

Installation

style-component-library are served as an npm package.

Add them to your project by running:

// with npm
npm install style-component-library

Don't forget to install the styled-components ^4.0.0 also.

Typography

To implement Typography component into your project you'll need to import:

import { Typography } from "style-component-library";

After import into your project you can use it simply like:

<Typography as="h1">Heading h1</Typography>

Props

Table below contains all types of the props available in Typography component.

Name Type Default Description
as h1, h2, h3, h4, h5, h6, p, div div The content of the Typography.

Package Sidebar

Install

npm i style-component-library

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

105 kB

Total Files

5

Last publish

Collaborators

  • patwapro