2021-11-01 08:30:46 -07:00
|
|
|
export const PageBodyWrapper = ({ children, className, ...props }) => (
|
2021-12-14 13:57:58 -08:00
|
|
|
<div className={`${className} h-full`} {...props}>
|
2021-10-26 11:58:49 -07:00
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
)
|
2021-09-19 17:36:02 -07:00
|
|
|
|
2021-04-24 19:10:28 -07:00
|
|
|
export const ElementTitle = ({
|
|
|
|
children,
|
2022-01-31 07:52:28 -08:00
|
|
|
noMarginBottom = false,
|
2021-04-24 19:10:28 -07:00
|
|
|
className = '',
|
|
|
|
}) => (
|
2022-02-20 19:55:13 -08:00
|
|
|
<h2
|
2021-04-18 03:34:37 -07:00
|
|
|
className={`flex justify-center ${
|
2022-01-31 07:52:28 -08:00
|
|
|
noMarginBottom ? 'mb-0' : 'mb-2.5'
|
2022-02-20 19:55:13 -08:00
|
|
|
} -mt-1 items-center text-base ${className}`}
|
2021-04-18 03:34:37 -07:00
|
|
|
>
|
2021-04-12 09:49:02 -07:00
|
|
|
{children}
|
2022-02-20 19:55:13 -08:00
|
|
|
</h2>
|
2021-04-09 07:27:49 -07:00
|
|
|
)
|