mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: wip email templates
This commit is contained in:
40
shared/email-components/src/lib/CreditNoteEmailTemplate.tsx
Normal file
40
shared/email-components/src/lib/CreditNoteEmailTemplate.tsx
Normal file
@@ -0,0 +1,40 @@
|
||||
export interface CreditNoteEmailProps {
|
||||
preview?: string;
|
||||
|
||||
companyName?: string;
|
||||
companyLogoUri: string;
|
||||
|
||||
primaryColor?: string;
|
||||
|
||||
total: string;
|
||||
totalLabel?: string;
|
||||
|
||||
// # Items
|
||||
items: Array<{ label: string; quantity: string; rate: string }>;
|
||||
|
||||
viewEstimateButtonLabel?: string;
|
||||
viewEstimateButtonUrl?: string;
|
||||
}
|
||||
|
||||
export const CreditNoteEmailTemplate: React.FC<
|
||||
Readonly<CreditNoteEmailProps>
|
||||
> = ({
|
||||
preview,
|
||||
|
||||
// # Company
|
||||
companyName,
|
||||
companyLogoUri,
|
||||
|
||||
// # Colors
|
||||
primaryColor = 'rgb(0, 82, 204)',
|
||||
|
||||
// # invoice total
|
||||
total,
|
||||
totalLabel = 'Total',
|
||||
|
||||
// # View invoice button
|
||||
viewEstimateButtonLabel = 'View Estimate',
|
||||
viewEstimateButtonUrl,
|
||||
}) => {
|
||||
return <h1>asdasd</h1>;
|
||||
};
|
||||
Reference in New Issue
Block a user