@accountingbox/invoice-templates 中文文档教程
Invoice-Templates
Install
npm install --save @accountingbox/invoice-templates
Usage
import React, { Component } from 'react'
import {InvoiceRender} from '@accountingbox/invoice-templates'
import '@accountingbox/invoice-templates/dist/index.css'
const invoice = {}
const invoiceSettings = {}
class Example extends Component {
render() {
return <InvoiceRender invoice={invoice} invoiceSettings={invoiceSettings} />
}
}
License
Invoice-Templates
Install
npm install --save @accountingbox/invoice-templates
Usage
import React, { Component } from 'react'
import {InvoiceRender} from '@accountingbox/invoice-templates'
import '@accountingbox/invoice-templates/dist/index.css'
const invoice = {}
const invoiceSettings = {}
class Example extends Component {
render() {
return <InvoiceRender invoice={invoice} invoiceSettings={invoiceSettings} />
}
}
License
更多