forked from p15670423/monkey
UI: Use colors from existing warning theme
This commit is contained in:
parent
2f7f4fef9c
commit
ab919f6d57
|
@ -1,12 +1,13 @@
|
|||
import * as React from 'react';
|
||||
import WarningIcon from '../ui-components/WarningIcon';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons/faExclamationTriangle';
|
||||
|
||||
class WarningBox extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className='alert alert-info'>
|
||||
<WarningIcon style={{ 'marginRight': '5px' }} />
|
||||
<div className='alert alert-warning'>
|
||||
<FontAwesomeIcon icon={faExclamationTriangle} style={{ 'marginRight': '5px' }} />
|
||||
{this.props.schema.info}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue