Head
A JSX email component which creates an HTML head element
Install
Install the component from your command line
pnpm add jsx-emailbun add jsx-emailnpm add jsx-emailyarn add jsx-emailUsage
import { Head } from 'jsx-email';
const Email = () => { return ( <Head> <title>My email title</title> </Head> );};Props
TypeScript Interface
export interface HeadProps extends BaseProps<'head'> { enableFormatDetection?: boolean;}Optional Props
enableFormatDetection
enableFormatDetection?: boolean;Controls the format-detection meta tag. Defaults to false.
Additional Props
This component expresses all of the Common Component Props for ComponentProps<'head'>.