import s from "./wrapper.module.css" import cx from "classnames" import { useSnapshot } from "valtio" import { theme } from "@/store/theme" export type WrapperProps = { header: React.ReactNode footer: React.ReactNode style?: React.CSSProperties mainStyle?: React.CSSProperties children?: React.ReactNode } export const Wrapper: React.FC = props => { const t = useSnapshot(theme) return (
{props.header}
{props.children}
{props.footer}
) }