diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-19 06:49:30 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-19 06:49:30 +0800 |
commit | 0eef07307eb31fe3d72cb26634f102ad6115fccb (patch) | |
tree | 314c9d1899070b8d8a35c7df3b2fd0a9f214268e | |
parent | d69b3a02444856ec3062ca1d9dc4bd11c7d16f5d (diff) | |
download | dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.tar dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.tar.gz dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.tar.bz2 dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.tar.lz dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.tar.xz dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.tar.zst dexon-sol-tools-0eef07307eb31fe3d72cb26634f102ad6115fccb.zip |
Declare interface and make isNoBorder optional
-rw-r--r-- | packages/website/ts/@next/pages/why.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx index 4d5e46361..73195f31c 100644 --- a/packages/website/ts/@next/pages/why.tsx +++ b/packages/website/ts/@next/pages/why.tsx @@ -253,9 +253,12 @@ const SectionWrap = } `; +interface SectionTitleProps { + isNoBorder?: boolean; +} const SectionTitle = styled(Heading) < - { isNoBorder: boolean } > + SectionTitleProps > ` position: relative; |