mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
22 lines
412 B
TypeScript
22 lines
412 B
TypeScript
import classNames from 'classnames'
|
|
|
|
interface Props {
|
|
children: React.ReactNode
|
|
className?: string
|
|
id?: string
|
|
}
|
|
|
|
const SectionContainer = ({ children, className, id }: Props) => (
|
|
<div
|
|
id={id}
|
|
className={classNames(
|
|
`sm:py-18 container relative mx-auto px-6 py-16 md:py-24 lg:px-16 lg:py-24 xl:px-20`,
|
|
className
|
|
)}
|
|
>
|
|
{children}
|
|
</div>
|
|
)
|
|
|
|
export default SectionContainer
|