react-fake-component

I've created a react component which is highly inspired from Kenan Yusuf's -Fake it'til you Make it- blog.

🦄 Working Demo & Examples

Usage

Install

npm i --save react-fake-component  

add https://github.com/OGPoyraz/react-fake-component/blob/master/dist/style.css into your styles.

// Import
import FakeComponent from 'react-fake-component';

// & Render
<FakeComponent fake={{type: 'p',header: false,line: 3}}/>  

Development

Clone repo & navigate into it

npm i  
npm run development  

& browse http://localhost:3000

Thanks for reading.