UI: Use yellow warning icon

This commit is contained in:
Kekoa Kaaikala 2022-09-28 18:07:31 +00:00
parent 4038622e83
commit 09cf2762f9
1 changed files with 2 additions and 3 deletions

View File

@ -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>
); );