import { createContext, FC, PropsWithChildren, useContext } from 'react' import styles from './Section.module.css' import cx from 'classnames' type SectionContextType = 'primary' | 'secondary' | 'tertiary' | undefined interface Props { color?: SectionContextType } const SectionContext = createContext(undefined) export const useSectionColor = () => useContext(SectionContext) export const Section: FC> = ({ color, children }) => { return (
{children}
) }