mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
Migrate "Add Files" modal to React GitOrigin-RevId: fc5235108ee65294e3176da9c327791c34aa5b3c
11 lines
280 B
JavaScript
11 lines
280 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.string.isRequired
|
|
}
|