2.0.2 • Published 4 years ago

fabrick-customer v2.0.2

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

fabrick-customer

Fabrick customer module

NPM JavaScript Style Guide

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]] />
  }

}
2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago