Skip to content

Commit 300bfd7

Browse files
committed
Updated hamburgericon class to styles object
1 parent 5fcbc65 commit 300bfd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Button/hamburgerIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { css } from '@patternfly/react-styles';
44
// Because this is such a specific icon that requires being wrapped in a pf-v[current version]-c-button element,
55
// we don't want to export this to consumers nor include it in the react-icons package as a custom icon.
66
export const hamburgerIcon = (
7-
<svg viewBox="0 0 10 10" className="pf-v6-c-button--hamburger-icon pf-v6-svg" width="1em" height="1em">
7+
<svg viewBox="0 0 10 10" className={css(styles.buttonHamburgerIcon, 'pf-v6-svg')} width="1em" height="1em">
88
<path className={css(styles.buttonHamburgerIconTop)} d="M1,1 L9,1"></path>
99
<path className={css(styles.buttonHamburgerIconMiddle)} d="M1,5 L9,5"></path>
1010
<path className={css(styles.buttonHamburgerIconArrow)} d="M1,5 L1,5 L1,5"></path>

0 commit comments

Comments
 (0)