mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-24 15:13:09 +00:00
[web] Migrate the file tree on the editor page to Bootstrap 5 GitOrigin-RevId: e2efec26242c8cdab37a54bc182b83bfb0f1eb3c
9 lines
293 B
JavaScript
9 lines
293 B
JavaScript
import OLNotification from '@/features/ui/components/ol/ol-notification'
|
|
import PropTypes from 'prop-types'
|
|
|
|
export default function DangerMessage({ children }) {
|
|
return <OLNotification type="error" content={children} />
|
|
}
|
|
DangerMessage.propTypes = {
|
|
children: PropTypes.any.isRequired,
|
|
}
|