We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0177235 commit b05baaeCopy full SHA for b05baae
src/components/CallToContribute/index.tsx
@@ -1,6 +1,5 @@
1
-import React, { ReactNode } from "react"
+import React from "react"
2
import { FaGithub } from "react-icons/fa"
3
-import { FlexProps } from "@chakra-ui/react"
4
5
import { ChildOnlyProp } from "@/lib/types"
6
@@ -14,10 +13,7 @@ export type CallToContributeProps = {
14
13
editPath: string
15
}
16
17
-const ContentColumn = (props: {
18
- children: ReactNode
19
- hideBelow?: FlexProps["hideBelow"]
20
-}) => (
+const ContentColumn = (props: ChildOnlyProp) => (
21
<Flex
22
className="flex-1 basis-1/2 flex-col p-4 text-body lg:text-start"
23
{...props}
0 commit comments