Wizard: Rename ChippingInput to LabelInput

This just renames `ChippingInput` component to `LabelInput` and updates all imports.
This commit is contained in:
regexowl 2025-03-04 08:41:38 +01:00 committed by Lucas Garfield
parent 5f3a3744c5
commit ba233f2c69
6 changed files with 17 additions and 17 deletions

View file

@ -8,7 +8,7 @@ import {
removePort,
selectFirewall,
} from '../../../../../store/wizardSlice';
import ChippingInput from '../../../ChippingInput';
import LabelInput from '../../../LabelInput';
import { useFirewallValidation } from '../../../utilities/useValidation';
import { isPortValid } from '../../../validators';
@ -19,7 +19,7 @@ const PortsInput = () => {
return (
<FormGroup label="Ports">
<ChippingInput
<LabelInput
ariaLabel="Add ports"
placeholder="Add ports"
validator={isPortValid}

View file

@ -10,7 +10,7 @@ import {
removeEnabledFirewallService,
selectFirewall,
} from '../../../../../store/wizardSlice';
import ChippingInput from '../../../ChippingInput';
import LabelInput from '../../../LabelInput';
import { useFirewallValidation } from '../../../utilities/useValidation';
import { isServiceValid } from '../../../validators';
@ -23,7 +23,7 @@ const Services = () => {
return (
<>
<FormGroup label="Disabled services">
<ChippingInput
<LabelInput
ariaLabel="Add disabled service"
placeholder="Add disabled service"
validator={isServiceValid}
@ -36,7 +36,7 @@ const Services = () => {
/>
</FormGroup>
<FormGroup label="Enabled services">
<ChippingInput
<LabelInput
ariaLabel="Add enabled service"
placeholder="Add enabled service"
validator={isServiceValid}