1.0.0 • Published 4 years ago
ra-simple-components v1.0.0
ra-simple-components
Component library to facilitate the development of your React application.
Install
npm install ra-simple-components
or
yarn add ra-simple-components
Usage
import React from 'react'
//IMPORT BUTTON COMPONENTS
import { Button } from 'ra-simple-components'
//IMPORT STYLESHEET
//you can import the stylesheet into your main 'index.js' file so you don't have to import it into multiple components
import 'ra-simple-components/dist/index.css'
const YourApp = () => {
return (
<Button
type='default'
margin='0px .5rem'
iconPosition='left'
label='default'
size='small'
/>
)
}
License
MIT © TraoreIbrahim
1.0.0
4 years ago