0.0.76-dev.2 • Published 3 years ago
paintbox v0.0.76-dev.2
PAINTBOX
:warning: THIS PROJECT IS UNDER DEVELOPMENT: we don't recommend its use in production yet!
Why?
- Write less do more, without miss flexiblity
- This Library has a proporse to be simple of use
- Who uses doesn't need write a custom css for simple custom or position
How to Install
# NPM
npm i paintbox
# YARN
yarn add paintbox
Configure
Routing
If you use any Router like react-router
you can do setup below to use Routing in your components
import { Link } from 'paintbox';
import { Link as RouterLink } from 'react-router-dom';
Link.initialize(RouterLink);
// and after
<Link to="path" /> // render as Router Link
<Button to="path" /> // render as Router Link
<Button href="path" /> // render as normal anchor