mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02:00
d520d64c0d
[web] Migrate the file tree on the editor page to Bootstrap 5 GitOrigin-RevId: e2efec26242c8cdab37a54bc182b83bfb0f1eb3c
10 lines
293 B
React
10 lines
293 B
React
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,
|
|
}
|