React Apple
React Apple makes your code better because Apple makes the world better!
How to install:
npm install react-apple --save
Usage
const Apple = require('react-apple');
<Apple>
// code that you want make better
</Apple>
By default Apple component has awesome className="apple"
. But it can help customize and your boring className too. If you want to change it just pass the custom className
property to component. For example:
<Apple className="macbook">
// code that you want make better
</Apple>
And you will have a magic inside your html:
<apple class="apple-macbook">
...
</apple>