react-dummy-design-library
v1.0.0
Published
Dummy react-library to experiment with Rollup
Readme
react-dummy-design-library
This library was developed to experiment with the following technologies:
- create-react-library
- microbundler
- Typescript and Javascript components in the same repository
Install
yarn add react-dummy-design-libraryTests
You can write tests either in JS or TS, either way will work
Running tests
yarn testUsage
import { Button, Alert } from 'react-dummy-design-library'
import 'react-dummy-design-library/dist/index.css'
const App = () => {
return <div>
<Button text="Button in Typscript" />
<Alert message="Alert message in JS" />
</div>
}
export default App
Example React App
This repository contains an example React App, that is useful for the developers to try out their components, and leave examples for others on how to use it.
Running the example app to test your components
On the root project
yarn buildOn the exampel project
yarn && yarn startLicense
MIT © sonikro
