content style update; style refactoring

This commit is contained in:
tmshv committed 2020-02-21 21:55:15 +03:00
1 parent 1bdea85b1b
commit 400a08d1af
11 files changed
+53 -28

No files matched your search

+7 -6
View File
@@ -1,12 +1,13 @@
import * as React from 'react'
import { memo } from 'react'
export const HudozkaTitle: React.FC = React.memo(() => (
<div>
export type HudozkaTitleProps = {
style?: React.CSSProperties
}
export const HudozkaTitle: React.FC<HudozkaTitleProps> = memo(props => (
<div style={props.style}>
<style jsx>{`
div {
--padding: var(--double-margin) 0;
padding: var(--padding);
text-align: center;
}