overleaf-cep/services/web/frontend/js/features/file-tree/components/file-tree-create/danger-message.tsx
David 8e31c30ec7 Merge pull request #25398 from overleaf/dp-file-tree-proptypes
Remove PropTypes from file-tree components

GitOrigin-RevId: 7ecbf9778da59b852be8678c5dff61e13d927b9c
2025-05-13 08:08:02 +00:00

9 lines
226 B
TypeScript

import OLNotification from '@/features/ui/components/ol/ol-notification'
export default function DangerMessage({
children,
}: {
children: React.ReactNode
}) {
return <OLNotification type="error" content={children} />
}