1.0.3 • Published 5 years ago
fabrique-customer v1.0.3
fabrique-customer
Fabrique customer module
Install
npm install --save fabrique-customerUsage
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