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