mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
abb59e4603
[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,
|
|
}
|