0.0.1 • Published 6 years ago
4p-common v0.0.1
4p-common
Install
npm install --save 4p-commonCommands
./yarn start: rolls up thesrcdirectory and watches for changes
./exampleyarn start: Starts the demo application
Components
Fields
Formik Fields:
- AddressInput
- CreateSelect
- CurrencyInput
- ... @TODO add the rest and link to
Usage
import React, { Component } from 'react'
import MyComponent from '4p-common'
class Example extends Component {
render () {
return (
<MyComponent />
)
}
}Developing
src/
Where our common components will be setup and created
example/
A sandbox within this project to develop against. We pull components in from the src/ directory and demonstrate how they're used
Publishing
$ npm login <login with ocupop creds>
# [ ] Make sure to push changes to git first
# [ ] Make sure to bump the version number
$ npm publish0.0.1
6 years ago