import { ShadowContainer } from "@/components/design/ShadowContainer" import { SectionHeading } from "@/components/design/Section/SectionHeading" type SectionProps = React.ComponentPropsWithRef<"section"> & { heading?: string description?: string isMain?: boolean withoutShadowContainer?: boolean } export const Section = (props: SectionProps): JSX.Element => { const { children, heading, description, isMain = false, withoutShadowContainer = false, ...rest } = props if (isMain) { return (
{description}
) : null}