refact: standardize Styled-Components

This commit is contained in:
Jean-Philippe Sirois
2019-07-27 17:32:39 -04:00
parent de846a4f58
commit 6389a246da
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import React from "react"
import { SidebarTitle } from "./style"
import * as SC from "./styles"
export interface DocsSidebarSectionProps {
readonly title: string
@@ -11,7 +11,7 @@ const DocsSidebarSection = ({
}: React.PropsWithChildren<DocsSidebarSectionProps>) => {
return (
<div>
<SidebarTitle>{title}</SidebarTitle>
<SC.SidebarTitle>{title}</SC.SidebarTitle>
{children}
</div>
)