Contributing
npm install
$ npm start
import ReactCreditCardForm from 'ReactCreditCardForm';
const handleCCSubmit = (cc) => {
console.log("App.js cc", cc)
}
...
<ReactCreditCardForm handleSubmit={(cc) => handleCCSubmit(cc)}/>
...
Import ReactCreditCardForm
, add the component, and handle the submit callback as you wish.
- dev (development build files)
- dist (distribution files)
- node_modules
- src (app source code)
- components (reusable elements)
- Component
- Component.js
- Component.scss
- Component
- index.html
- entry.js
- index.scss
- components (reusable elements)
- tests (automated tests)
- tools (build tools)
- LICENSE
- package.json
- README.md