import { cIf, cJoin } from "helpers/className"; import { useIsContentPanelAtLeast } from "hooks/useContainerQuery"; /* * ╭─────────────╮ * ───────────────────────────────────────╯ COMPONENT ╰─────────────────────────────────────────── */ interface Props { children: React.ReactNode; width?: ContentPanelWidthSizes; className?: string; } export enum ContentPanelWidthSizes { Default = "default", Large = "large", Full = "full", } // ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ export const ContentPanel = ({ width = ContentPanelWidthSizes.Default, children, className, }: Props): JSX.Element => { const isContentPanelAtLeast3xl = useIsContentPanelAtLeast("3xl"); return (