File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ import { Badge } from '../Badge';
77import StarIcon from '@patternfly/react-icons/dist/esm/icons/star-icon' ;
88import OutlinedStarIcon from '@patternfly/react-icons/dist/esm/icons/outlined-star-icon' ;
99import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon' ;
10- // TODO: replace following hamburger import when https://github.com/patternfly/patternfly-react/issues/11858 is resolved
11- import { hamburgerIcon } from '../../helpers/hamburgerIcon' ;
10+ import { hamburgerIcon } from './hamburgerIcon' ;
1211
1312export enum ButtonVariant {
1413 primary = 'primary' ,
Original file line number Diff line number Diff line change 1- // TODO: remove this file when https://github.com/patternfly/patternfly-react/issues/11858 is resolved
1+ // Because this is such a specific icon that requires being wrapped in a pf-v[current version]-c-button element,
2+ // we don't want to export this to consumers nor include it in the react-icons package as a custom icon.
23export const hamburgerIcon = (
34 < svg viewBox = "0 0 10 10" className = "pf-v6-c-button--hamburger-icon pf-v6-svg" width = "1em" height = "1em" >
45 < path className = "pf-v6-c-button--hamburger-icon--top" d = "M1,1 L9,1" > </ path >
Original file line number Diff line number Diff line change @@ -11,4 +11,3 @@ export * from './KeyboardHandler';
1111export * from './resizeObserver' ;
1212export * from './useInterval' ;
1313export * from './datetimeUtils' ;
14- export * from './hamburgerIcon' ;
You can’t perform that action at this time.
0 commit comments