dumi-theme-lobehub
Version:
dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui
22 lines • 572 B
JavaScript
import { Alert, Typography } from '@lobehub/ui';
import { jsx as _jsx } from "react/jsx-runtime";
var Container = function Container(_ref) {
var type = _ref.type,
title = _ref.title,
children = _ref.children;
return /*#__PURE__*/_jsx(Typography, {
fontSize: 14,
headerMultiple: 0.25,
marginMultiple: 0,
children: /*#__PURE__*/_jsx(Alert, {
description: children,
message: title || type.toUpperCase(),
showIcon: true,
style: {
marginBlock: '1em'
},
type: type
})
});
};
export default Container;