mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 08:09:01 +02:00
9daa8f5d98
[web] rename all the JSX files to .jsx/.tsx GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
10 lines
252 B
React
10 lines
252 B
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,
|
|
}
|