mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 18:13:48 -04:00
* Test * Add pretty formatting * Fix Tests * Fix Tests * Fix Tests * Fix * Add pretty formatting fix * Fix * Test * Fix tests * Clean typeckech * Add prettier check * Fix api tsconfig * Fix api tsconfig * Fix tsconfig * Fix * Fix * Prettier
23 lines
439 B
TypeScript
23 lines
439 B
TypeScript
'use server'
|
|
|
|
import {Head, Html, Preview, Tailwind, Text} from '@react-email/components'
|
|
import React from 'react'
|
|
|
|
export const Test = (props: {name: string}) => {
|
|
return (
|
|
<Html>
|
|
<Head />
|
|
<Preview>Helloo {props.name}</Preview>
|
|
<Tailwind>
|
|
<Text className="text-xl text-blue-800">Hello {props.name}</Text>
|
|
</Tailwind>
|
|
</Html>
|
|
)
|
|
}
|
|
|
|
Test.PreviewProps = {
|
|
name: 'Friend',
|
|
}
|
|
|
|
export default Test
|