mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 22:50:46 +02:00
fe6970f30f
GitOrigin-RevId: 3b379580635e1f6f2f518d416b8c72e0dadc0df6
11 lines
278 B
JavaScript
11 lines
278 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import { Alert } from 'react-bootstrap'
|
|
|
|
export default function DangerMessage({ children }) {
|
|
return <Alert bsStyle="danger">{children}</Alert>
|
|
}
|
|
DangerMessage.propTypes = {
|
|
children: PropTypes.any.isRequired,
|
|
}
|