-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(HelperText): consumed Penta updates (#10029)
* feat(HelperText): consumed Penta updates * Updated examples and tests * Fixed example file names * Updated tests per Austin feedback * Updated test to avoid false positive
- Loading branch information
1 parent
f559843
commit 8da6fc6
Showing
16 changed files
with
114 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../HelperText/examples/HelperTextStatic.tsx → ...s/HelperText/examples/HelperTextBasic.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
packages/react-core/src/components/HelperText/examples/HelperTextDynamic.tsx
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
packages/react-core/src/components/HelperText/examples/HelperTextDynamicList.tsx
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
packages/react-core/src/components/HelperText/examples/HelperTextMultipleItems.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react'; | ||
import { HelperText, HelperTextItem } from '@patternfly/react-core'; | ||
|
||
export const HelperTextMultipleItems: React.FunctionComponent = () => ( | ||
<HelperText component="ul"> | ||
<HelperTextItem component="li">This is default helper text</HelperTextItem> | ||
<HelperTextItem component="li">This is another default helper text in the same HelperText block</HelperTextItem> | ||
<HelperTextItem component="li">And this is more default text in the same HelperText block</HelperTextItem> | ||
</HelperText> | ||
); |
10 changes: 0 additions & 10 deletions
10
packages/react-core/src/components/HelperText/examples/HelperTextMultipleStatic.tsx
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
packages/react-core/src/components/HelperText/examples/HelperTextStaticWithDefaultIcon.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.