Files
bigcapital/shared/email-components/src/lib/PaymentReceivedEmailTemplate.stories.tsx
2024-11-19 14:00:25 +02:00

33 lines
811 B
TypeScript

import { Meta, StoryFn } from '@storybook/react';
import {
PaymentReceivedEmailTemplateProps,
PaymentReceivedEmailTemplate,
} from './PaymentReceivedEmailTemplate';
export default {
title: 'Email/PaymentReceivedEmailTemplate',
component: PaymentReceivedEmailTemplate,
} as Meta;
const Template: StoryFn<PaymentReceivedEmailTemplateProps> = (args) => (
<PaymentReceivedEmailTemplate {...args} />
);
export const Default: StoryFn<PaymentReceivedEmailTemplateProps> =
Template.bind({
message: `Hi Ahmed Bouhuolia,
Here's invoice # INV-00005 for $1,000.00
The amount outstanding of $1,000.00 is due on 10 Oct 2024.
From your online payment page you can print a PDF or view your outstanding bills.
If you have any questions, please let us know.
Thanks,
Bigcapital`,
});
Default.args = {};