README
fabrick-customer
Fabrick customer module
Install
npm install --save fabrick-customer
Usage
import React, { Component } from 'react'
import { makeTitoliPanel, makePaymentsPanel, makeBillsPanel, makeCustomerPanel } from 'fabrick-customer';
import { data, data2, data3 } from './sampleData';
import 'fabrick-customer/dist/styles.css' // apply the module styles with fallback to fabrick-business and fabrick-core.
class Example extends Component {
const Bills = makeBillsPanel(data);
const Payments = makePaymentsPanel(data2);
const Titoli = makeTitoliPanel(data3);
const Customer = makeCustomerPanel(data3);
render() {
return <FabrickTab panels={[Bills, Payments, Titoli, Customer]] />
}
}