import classNames from 'classnames'; import { JsxChildren } from 'dom-renderer'; import { FC } from 'web-cell'; import { BackgroundColor } from '../type'; import { Container, ContainerProps } from '../Layout/Grid'; export interface JumbotronProps extends Omit, Record<'title' | 'description', JsxChildren> { bg?: BackgroundColor; rounded?: 0 | 1 | 2 | 3 | 4 | 5; } export const Jumbotron: FC = ({ fluid, className = `py-5 ${fluid ? '' : 'px-5'}`, bg = 'body-tertiary', rounded = fluid ? 0 : 3, title, description, children, ...props }) => (

{title}

{description}

{children && ( <>
{children} )}
);