mirror of
https://github.com/elyby/emails-renderer.git
synced 2025-05-31 14:12:05 +05:30
Finally fix eslint configuration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
content: {
|
||||
background: '#fff',
|
||||
padding: '50px'
|
||||
}
|
||||
padding: '50px',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -13,10 +13,11 @@ export default function Footer() {
|
||||
<tr>
|
||||
<td style={styles.footerText}>
|
||||
<Message {...messages.footer} values={{
|
||||
serviceLink:
|
||||
serviceLink: (
|
||||
<a href="https://account.ely.by" style={styles.footerLink}>
|
||||
<Message {...messages.service_name} />
|
||||
</a>
|
||||
),
|
||||
}} />
|
||||
</td>
|
||||
<td style={styles.footerLogo}>
|
||||
|
||||
@@ -9,7 +9,7 @@ interface Props {
|
||||
const Table: FunctionComponent<Props> = ({ children, style }) => (
|
||||
<table cellPadding="0" cellSpacing="0" style={{
|
||||
...styles.table,
|
||||
...style
|
||||
...style,
|
||||
}}>
|
||||
<tbody>
|
||||
{children}
|
||||
|
||||
@@ -6,7 +6,7 @@ const styles: { [key: string]: CSSProperties } = {
|
||||
// @ts-ignore
|
||||
msoTableLspace: '0pt',
|
||||
msoTableRspace: '0pt',
|
||||
width: '100%'
|
||||
width: '100%',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,2 @@
|
||||
import Button from './button/Button';
|
||||
import Input from './input/Input';
|
||||
|
||||
export {
|
||||
Button,
|
||||
Input
|
||||
};
|
||||
export { default as Button } from './button/Button';
|
||||
export { default as Input } from './input/Input';
|
||||
|
||||
Reference in New Issue
Block a user