Skip to content

gitobi/react-blank-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-blank-component

Blank Component for React App. This is useful for mock, wireframing and creating a skeleton page.

How to use

Install

yarn

yarn add @gitobi/react-blank-component

npm

npm install @gitobi/react-blank-component --save

Sample code

import React, { Component } from 'react';
import BlankComponent from '@gitobi/react-blank-component';

class Home extends Component {
  render() {
    return (
      <BlankComponent />
    );
  }
}

export default Home;

Publish

  1. yarn build
  2. git add .
  3. git commit -m
  4. git tag -a v1.0.0 -m 'v1.0.0 release'
  5. git push origin v1.0.0
  6. npm publish --access=public

License

MIT