Skip to content

Commit 85e96bb

Browse files
author
Eric Olkowski
committed
Updated verbiage in example
1 parent b490abd commit 85e96bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/react-core/src/components/TextInputGroup/examples/TextInputGroupWithStatus.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
1313

1414
export const TextInputGroupWithStatus: React.FunctionComponent = () => {
1515
const [successValue, setSuccessValue] = React.useState('Success validation');
16-
const [warningValue, setWarningValue] = React.useState('Warning validation with icon at start');
17-
const [errorValue, setErrorValue] = React.useState('Error validation with icon at start and utilities');
16+
const [warningValue, setWarningValue] = React.useState('Warning validation with custom non-status icon at start');
17+
const [errorValue, setErrorValue] = React.useState(
18+
'Error validation with custom non-status icon at start and utilities'
19+
);
1820

1921
/** show the input clearing button only when the input is not empty */
2022
const showClearButton = !!errorValue;

0 commit comments

Comments
 (0)