More email styles
This commit is contained in:
17
server/emails/components/Heading.js
Normal file
17
server/emails/components/Heading.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// @flow
|
||||
import React from 'react';
|
||||
|
||||
const style = {
|
||||
fontWeight: 500,
|
||||
fontSize: '18px',
|
||||
};
|
||||
|
||||
type Props = {
|
||||
children: React$Element<*>,
|
||||
};
|
||||
|
||||
export default ({ children }: Props) => (
|
||||
<p>
|
||||
<span style={style}>{children}</span>
|
||||
</p>
|
||||
);
|
||||
Reference in New Issue
Block a user