reusable components for redspher
npm install --save redspher-components
import { MyComponent } from 'redspher-components'
import 'redspher-components/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
Clone repo https://github.com/yoctu/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 ]
MIT © yoctu