import React from 'react';
import Invoice from '../../..';
import moment from 'moment';
import 'antd/dist/antd.css';

export default () => {

    const controller = React.useMemo(() => new Invoice.InvoiceController(), []);

    React.useEffect(() => {
        controller.run(async s => {
        })
    }, [])

    return (
        <Invoice
            invoiceType='digtal'
            controller={controller}
            specialInfor={<Invoice.RealEstateInfo />}
        />
    )
};