1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/components/landing/LandingSection.tsx
2021-05-10 15:17:52 -07:00

16 lines
362 B
TypeScript

import cx from 'classnames'
type Props = {
title?: string
children?: React.ReactNode
className?: string
}
export const LandingSection = ({ title, children, className }: Props) => {
return (
<div className={cx('container-xl px-3 px-md-6', className)}>
{title && <h2 className="font-mktg h1 mb-2">{title}</h2>}
{children}
</div>
)
}