Skip to content

Commit

Permalink
Add container as a styled div to styled-components doc (#3988)
Browse files Browse the repository at this point in the history
  • Loading branch information
assimelha authored and KyleAMathews committed Feb 12, 2018
1 parent 9429cbc commit a12677e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/docs/styled-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ Now let's create a sample Styled Components page at `src/pages/index.js`:
import React from "react";
import styled from "styled-components";

import Container from "../components/container";
const Container = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
`;

const UserWrapper = styled.div`
display: flex;
Expand Down

0 comments on commit a12677e

Please sign in to comment.