cc: Rename component `InfoField` to `InfoBox`

This commit is contained in:
Shreya 2021-07-12 11:51:03 +05:30
parent 67293b37ef
commit e16b019b85
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import * as React from 'react';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
class InfoField extends React.Component {
class InfoBox extends React.Component {
render() {
return (
@ -15,4 +15,4 @@ class InfoField extends React.Component {
}
}
export default InfoField;
export default InfoBox;

View File

@ -1,7 +1,7 @@
import AdvancedMultiSelect from '../ui-components/AdvancedMultiSelect';
import PbaInput from './PbaInput';
import {API_PBA_LINUX, API_PBA_WINDOWS} from '../pages/ConfigurePage';
import InfoField from './InfoField';
import InfoBox from './InfoBox';
export default function UiSchema(props) {
const UiSchema = {
@ -18,7 +18,7 @@ export default function UiSchema(props) {
'ui:order': ['scope', 'network_analysis'],
scope: {
info_box: {
'ui:field': InfoField
'ui:field': InfoBox
},
subnet_scan_list: {
format: 'ip-list'
@ -74,7 +74,7 @@ export default function UiSchema(props) {
ransomware: {
encryption: {
info_box: {
'ui:field': InfoField
'ui:field': InfoBox
},
directories: {
// Directory inputs are dynamically hidden