Spacer typings improved; moved to separate component

This commit is contained in:
tmshv committed 2020-02-18 14:57:17 +03:00
1 parent 01eaffaf14
commit d0a11deae8
4 files changed
+16 -11

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
import { Copyright } from '../Copyright'
import { Author } from './Author'
import { Block, Spacer } from '../Block'
import { Block } from '../Block'
import { Spacer } from '../Spacer'
const mailto = email => `mailto:${email}`
@@ -31,7 +32,7 @@ export const Footer: React.FC<IFooterProps> = props => (
{!props.showAuthor ? null : (
<>
<Spacer />
<Spacer as={'span'} />
<Author />
</>
)}