mango-ui-v3/components/styles.tsx

20 lines
412 B
TypeScript

export const PageBodyWrapper = ({ children, className, ...props }) => (
<div className={`${className} h-full`} {...props}>
{children}
</div>
)
export const ElementTitle = ({
children,
noMarginBottom = false,
className = '',
}) => (
<h2
className={`flex justify-center ${
noMarginBottom ? 'mb-0' : 'mb-2.5'
} -mt-1 items-center text-base ${className}`}
>
{children}
</h2>
)