redspher-components
v2.5.9
Published
reusable components for redspher
Downloads
169
Readme
redspher-components
reusable components for redspher
Install
npm install --save redspher-components
Usage
import { MyComponent } from 'redspher-components'
import 'redspher-components/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
doc
contribute
Clone repo https://github.com/flash-global/redspher-react-components
install node modules
npm install
compile components
npm start
check demo and develop
cd example
npm start
run tests
npm run test
test watch (jest only)
npm run test:watch
create a new folder with you component name, check the structure of the other components. We use scss modules create tests
import component in src/index.js
create examples in example folder.
DONT FORGET TO UPDATE NPM VERSION !!!
npm version [<newversion> | major | minor | patch ]
License
MIT © yoctu