have footer on emails (#11300)
# ISSUE - Closes #9622 --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import { ReactNode } from 'react';
|
||||
import { Button } from '@react-email/button';
|
||||
import { Button } from '@react-email/components';
|
||||
|
||||
import { emailTheme } from 'src/common-style';
|
||||
|
||||
@ -17,7 +16,7 @@ const callToActionStyle = {
|
||||
|
||||
type CallToActionProps = {
|
||||
href: string;
|
||||
value: ReactNode;
|
||||
value: JSX.Element | JSX.Element[] | string;
|
||||
};
|
||||
|
||||
export const CallToAction = ({ value, href }: CallToActionProps) => {
|
||||
|
||||
Reference in New Issue
Block a user