import { FC } from 'react' import { IconInfo, IconHelpCircle, IconAlertTriangle } from 'ui' interface Props { type: 'note' | 'tip' | 'info' | 'caution' | 'danger' label?: string children: any } const Admonition: FC = ({ type = 'note', label, children }) => { return (
{type === 'note' ? ( ) : type === 'info' ? ( ) : type === 'tip' ? ( ) : type === 'caution' ? ( ) : type === 'danger' ? ( ) : ( )}

{label || type}

{children}
) } export default Admonition