diff options
Diffstat (limited to 'packages/website/ts/@next/components/newLayout.tsx')
-rw-r--r-- | packages/website/ts/@next/components/newLayout.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/website/ts/@next/components/newLayout.tsx b/packages/website/ts/@next/components/newLayout.tsx index b7953c8d7..7af2fb9f2 100644 --- a/packages/website/ts/@next/components/newLayout.tsx +++ b/packages/website/ts/@next/components/newLayout.tsx @@ -1,12 +1,17 @@ import * as React from 'react'; import styled from 'styled-components'; -interface WrapProps { +interface FlexProps { + padding?: string; + isFlex?: boolean; +} + +interface WrapProps extends FlexProps { isFullWidth?: boolean; isTextCentered?: boolean; } -interface SectionProps { +interface SectionProps extends WrapProps { isPadded?: boolean; isFullWidth?: boolean; isFlex?: boolean; @@ -15,11 +20,6 @@ interface SectionProps { bgColor?: 'dark' | 'light' | string; } -interface FlexProps { - padding?: string; - isFlex?: boolean; -} - interface ColumnProps { padding?: string; } |