Skip to content

Commit

Permalink
doc: use emotion instead of styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Jan 7, 2019
1 parent 22f2f76 commit b04f6d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions docs/components/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import { Link } from "docz";
import styled from "styled-components";
import styled from "@emotion/styled";

const Button = styled(Link)`
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion docs/components/Center.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled from "styled-components";
import styled from "@emotion/styled";

export default styled.div`
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion docs/components/Feature.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled from "styled-components";
import styled from "@emotion/styled";

export const Feature = styled.div`
text-align: center;
Expand Down
5 changes: 2 additions & 3 deletions docs/components/TitleWithImg.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { Children } from "react";

import styled from "styled-components";
import React from "react";
import styled from "@emotion/styled";

const TitleWithImg: React.SFC<{ contents: string; children: React.ReactNode }> = ({
contents,
Expand Down

0 comments on commit b04f6d3

Please sign in to comment.