File tree Expand file tree Collapse file tree
packages/react-core/src/components/List/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cssPrefix: pf-v6-c-list
55propComponents : ['List', 'ListItem']
66---
77
8- import BookOpenIcon from '@patternfly/react-icons /dist/esm/icons/book-open -icon';
8+ import RhUiLearnFillIcon from '@patternfly/react-icons /dist/esm/icons/rh-ui-learn-fill -icon';
99import KeyIcon from '@patternfly/react-icons /dist/esm/icons/key-icon';
1010import DesktopIcon from '@patternfly/react-icons /dist/esm/icons/desktop-icon';
1111
Original file line number Diff line number Diff line change 11import { List , ListItem } from '@patternfly/react-core' ;
2- import BookOpenIcon from '@patternfly/react-icons/dist/esm/icons/book-open -icon' ;
2+ import RhUiLearnFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-learn-fill -icon' ;
33import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon' ;
44import DesktopIcon from '@patternfly/react-icons/dist/esm/icons/desktop-icon' ;
55
66export const ListIcons : React . FunctionComponent = ( ) => (
77 < List isPlain >
8- < ListItem icon = { < BookOpenIcon /> } > First</ ListItem >
8+ < ListItem icon = { < RhUiLearnFillIcon /> } > First</ ListItem >
99 < ListItem icon = { < KeyIcon /> } > Second</ ListItem >
1010 < ListItem icon = { < DesktopIcon /> } > Third</ ListItem >
1111 </ List >
Original file line number Diff line number Diff line change 11import { List , ListItem } from '@patternfly/react-core' ;
2- import BookOpenIcon from '@patternfly/react-icons/dist/esm/icons/book-open -icon' ;
2+ import RhUiLearnFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-learn-fill -icon' ;
33import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon' ;
44import DesktopIcon from '@patternfly/react-icons/dist/esm/icons/desktop-icon' ;
55
66export const ListLargeIcons : React . FunctionComponent = ( ) => (
77 < List isPlain iconSize = "large" >
8- < ListItem icon = { < BookOpenIcon /> } > First</ ListItem >
8+ < ListItem icon = { < RhUiLearnFillIcon /> } > First</ ListItem >
99 < ListItem icon = { < KeyIcon /> } > Second</ ListItem >
1010 < ListItem icon = { < DesktopIcon /> } > Third</ ListItem >
1111 </ List >
You can’t perform that action at this time.
0 commit comments