mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
fix: invoice payment email storybook
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
import { Meta } from '@storybook/react';
|
||||
import { StoryFn } from '@storybook/react';
|
||||
import {
|
||||
@@ -15,22 +16,3 @@ export default meta;
|
||||
const Template: StoryFn<typeof InvoicePaymentEmail> = (
|
||||
args: InvoicePaymentEmailProps
|
||||
) => <InvoicePaymentEmail {...args} />;
|
||||
|
||||
export const PreviewInvoicePaymentMail = Template.bind({});
|
||||
|
||||
PreviewInvoicePaymentMail.args = {
|
||||
preview: 'Preview text',
|
||||
companyName: 'ABC Company',
|
||||
companyLogoUri: 'https://example.com/logo.png',
|
||||
invoiceAmount: '100.00',
|
||||
dueDate: '2022-12-31',
|
||||
invoiceMessage: 'Thank you for your purchase!',
|
||||
invoiceNumber: 'INV-001',
|
||||
dueAmount: '100.00',
|
||||
total: '100.00',
|
||||
viewInvoiceButtonUrl: 'https://example.com/invoice',
|
||||
items: [
|
||||
{ label: 'Item 1', quantity: '1', rate: '50.00' },
|
||||
{ label: 'Item 2', quantity: '2', rate: '25.00' },
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user