Declare interface and make isNoBorder optional

This commit is contained in:
Steve Klebanoff
2018-12-18 14:49:30 -08:00
parent d69b3a0244
commit 0eef07307e

View File

@@ -253,9 +253,12 @@ const SectionWrap =
} }
`; `;
interface SectionTitleProps {
isNoBorder?: boolean;
}
const SectionTitle = const SectionTitle =
styled(Heading) < styled(Heading) <
{ isNoBorder: boolean } > SectionTitleProps >
` `
position: relative; position: relative;