https://github.com/gitobi/react-blank-component
Blank Component for React App.
https://github.com/gitobi/react-blank-component
blank component react react-component skeleton
Last synced: about 1 year ago
JSON representation
Blank Component for React App.
- Host: GitHub
- URL: https://github.com/gitobi/react-blank-component
- Owner: gitobi
- Created: 2017-10-25T11:14:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-25T15:16:31.000Z (over 8 years ago)
- Last Synced: 2024-09-18T20:55:53.222Z (over 1 year ago)
- Topics: blank, component, react, react-component, skeleton
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@gitobi/react-blank-component
- Size: 21.5 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```javascript
import React, { Component } from 'react';
import BlankComponent from '@gitobi/react-blank-component';
class Home extends Component {
render() {
return (
);
}
}
export default Home;
```
# Publish
1. `yarn build`
1. `git add .`
1. `git commit -m`
1. `git tag -a v1.0.0 -m 'v1.0.0 release'`
1. `git push origin v1.0.0`
1. `npm publish --access=public`
# License
MIT