1.0.3 • Published 4 years ago

fabrique-customer v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

fabrique-customer

Fabrique customer module

NPM JavaScript Style Guide

Install

npm install --save fabrique-customer

Usage

import React, { Component } from 'react'
import { makeTitoliPanel, makePaymentsPanel, makeBillsPanel, makeCustomerPanel } from 'fabrique-customer';
import { data, data2, data3 } from './sampleData';
import 'fabrique-customer/dist/styles.css' // apply the module styles with fallback to fabrique-business and fabrique-core.

class Example extends Component {

  const Bills = makeBillsPanel(data);
  const Payments = makePaymentsPanel(data2);
  const Titoli = makeTitoliPanel(data3);
  const Customer = makeCustomerPanel(data3);

  render() {
    return <FabriqueTab panels={[Bills, Payments, Titoli, Customer]] />
  }

}

License

MIT © ovidius72

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago