import React from 'react';
import { Button } from 'kts-components-antd-x3';
import Invoice from '../../';

const useInvoiceController = Invoice.useInvoiceController;

export default () => {
  return <Invoice invoiceHeader={<InvoiceHeader />} />;
};

const InvoiceHeader = () => {
  const controller = useInvoiceController();

  return (
    <div>
      新的表头
      <Button type="link">
        更新
      </Button>
    </div>
  );
};
