diff options
Diffstat (limited to 'packages/dev-tools-pages/ts/components/content.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/content.tsx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/packages/dev-tools-pages/ts/components/content.tsx b/packages/dev-tools-pages/ts/components/content.tsx deleted file mode 100644 index b3c353f8a..000000000 --- a/packages/dev-tools-pages/ts/components/content.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import * as React from 'react'; -import styled from 'styled-components'; - -import { Container } from './container'; - -const StyledMain = styled.div<MainProps>` - padding-top: 6.25rem; - padding-bottom: 6.25rem; - ${props => - props.dark - ? ` - background-color: #000; - color: #fff; - p:not([class]) { - color: #CCC; - } - ` - : ''}; -`; - -interface MainProps { - dark?: boolean; -} - -const Content: React.StatelessComponent<MainProps> = props => ( - <StyledMain dark={props.dark}> - <Container>{props.children}</Container> - </StyledMain> -); - -export { Content }; |