diff options
Diffstat (limited to 'packages/website/ts/@next/components/container.tsx')
-rw-r--r-- | packages/website/ts/@next/components/container.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/container.tsx b/packages/website/ts/@next/components/container.tsx new file mode 100644 index 000000000..a4da10cfd --- /dev/null +++ b/packages/website/ts/@next/components/container.tsx @@ -0,0 +1,21 @@ +import * as React from 'react'; +import styled from 'styled-components'; + +interface ContainerProps { +} + +const StyledContainer = styled.div` + max-width: 117rem; // 2000px + margin: 0 auto; + padding: 0 1.764705882rem; // 30px +`; + +export const Container: React.StatelessComponent<ContainerProps> = props => { + const { children } = props; + + return ( + <StyledContainer> + {children} + </StyledContainer> + ); +}; |