style: prefer named exports

This commit is contained in:
Jean-Philippe Sirois
2019-07-27 18:04:52 -04:00
parent 4d434573d2
commit baa05d1968
12 changed files with 22 additions and 38 deletions
+1 -3
View File
@@ -1,11 +1,9 @@
import React, { PropsWithChildren } from "react"
import * as SC from "./styles"
function Container({
export function Container({
children,
...restProps
}: PropsWithChildren<{}>): JSX.Element {
return <SC.ContainerWrapper {...restProps}>{children}</SC.ContainerWrapper>
}
export default Container