Adding margin xl to Heading layout component

This commit is contained in:
apanizo 2018-09-05 15:51:22 +02:00
parent 13b28dc51f
commit 0897ab8f35
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@ type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4';
type Props = {
align?: 'left' | 'center' | 'right',
margin?: 'sm' | 'md' | 'lg',
margin?: 'sm' | 'md' | 'lg' | 'xl',
tag: HeadingTag,
truncate?: boolean,
children: React$Node,

View File

@ -54,3 +54,7 @@
.marginLg {
margin: 0 0 $lg 0;
}
.marginXl {
margin: 0 0 $xl 0;
}