1.0.5 • Published 7 years ago

@indiefin/card-form v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Indie Card Form

Get up and running

Install development tools

Docker (https://www.docker.com/)

Start application for development

docker-compose up

Navigate to http://localhost:6006/

Usage

import CardForm from '@indiefin/card-form';


const cancelAction = () => console.log('cancel');
const submitAction = form => console.log(form);


const Component = () => (
  <CardForm cancelAction={cancelAction} submitAction={submitAction} />
);


export default Component;

Testing

docker-compose run --rm app yarn test