Skip to content

Commit bc1d5b2

Browse files
author
Eric Olkowski
committed
Updated example name
1 parent 94dca60 commit bc1d5b2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/react-core/src/components/TextInputGroup/examples/TextInputGroup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
2828

2929
```
3030

31-
### With validation
31+
### With status
3232

33-
You can add validation to a `<TextInputGroup>` by passing the `status` property with a value of either "success", "warning", or "error".
33+
You can add a status to a `<TextInputGroup>` by passing the `status` property with a value of either "success", "warning", or "error".
3434

35-
```ts file="./TextInputGroupValidation.tsx"
35+
```ts file="./TextInputGroupWithStatus.tsx"
3636

3737
```
3838

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
1212
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
1313

14-
export const TextInputGroupValidation: React.FunctionComponent = () => {
14+
export const TextInputGroupWithStatus: React.FunctionComponent = () => {
1515
const [successValue, setSuccessValue] = React.useState('Success validation');
1616
const [warningValue, setWarningValue] = React.useState('Warning validation with icon at start');
1717
const [errorValue, setErrorValue] = React.useState('Error validation with icon at start and utilities');

0 commit comments

Comments
 (0)