diff --git a/docs/src/layouts/docs.tsx b/docs/src/layouts/docs.tsx index c5b31109..0559d2d6 100644 --- a/docs/src/layouts/docs.tsx +++ b/docs/src/layouts/docs.tsx @@ -62,7 +62,7 @@ const Layout: NextLayout = ({ children, meta }) => { { return ( - {children} ) diff --git a/docs/src/types/styled-components.d.ts b/docs/src/types/styled-components.d.ts deleted file mode 100644 index 449558ec..00000000 --- a/docs/src/types/styled-components.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { lightTheme } from '@ensdomains/thorin' -import 'styled-components' - -type Theme = typeof lightTheme - -declare module 'styled-components' { - type DefaultTheme = Theme -} diff --git a/scripts/generateComponent.mjs b/scripts/generateComponent.mjs index 4c2b1b02..3ab113f9 100644 --- a/scripts/generateComponent.mjs +++ b/scripts/generateComponent.mjs @@ -67,11 +67,8 @@ const COMPONENT_GROUPS = { console.log('Creating component...') const componentImports = dedent` import * as React from 'react' - import styled from 'styled-components' export type Props = {} - - const Container = styled.div(() => css\`\`) ` const componentBasic = dedent` ${componentImports}