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 { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons/faExclamationTriangle';
import WarningIcon from '../ui-components/WarningIcon';
class WarningBox extends React.Component {
render() {
return (
<div className='alert alert-info'>
<FontAwesomeIcon icon={faExclamationTriangle} style={{ 'marginRight': '5px' }} />
<WarningIcon style={{ 'marginRight': '5px' }} />
{this.props.schema.info}
</div>
);