0.3.3 • Published 10 months ago

tm-reuseable-components v0.3.3

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

tm-reuseable-components

tm-reuseable-components is built upon @mui/material

Installation

npm install tm-reuseable-components

Importing components

You should import individual components like: tm-reuseable-components/button rather than the entire library. Doing so pulls in only the specific components that you use, which can significantly reduce the amount of code you end up sending to the client

import { Button } from 'tm-reuseable-components';

// or less ideally
import { Button } from 'tm-reuseable-components';

Importing Icons

You can import materil icons under tm-reuseable-components/Icons

import {  Icons } from 'tm-ui-components/icons'

Example

import React from 'react'
import { Button } from 'tm-reuseable-components/button';

...

return (
    ...
        <Button variant='contained' color='primary'>Click me</Button>
    ...
)

...
0.3.3

10 months ago

0.3.2

10 months ago

0.3.1

11 months ago

0.3.0

11 months ago

0.2.9

11 months ago

0.2.8

11 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.9

11 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago