Debian Codegraph @

node/@patternfly/react-core/src/components/Button/hamburgerIcon.tsx

raw
1 import styles from '@patternfly/react-styles/css/components/Button/button';
2 import { css } from '@patternfly/react-styles';
3
4 // Because this is such a specific icon that requires being wrapped in a pf-v[current version]-c-button element,
5 // we don't want to export this to consumers nor include it in the react-icons package as a custom icon.
6 export const hamburgerIcon = (
7 <svg viewBox="0 0 10 10" className={css(styles.buttonHamburgerIcon, 'pf-v6-svg')} width="1em" height="1em">
8 <path className={css(styles.buttonHamburgerIconTop)} d="M1,1 L9,1"></path>
9 <path className={css(styles.buttonHamburgerIconMiddle)} d="M1,5 L9,5"></path>
10 <path className={css(styles.buttonHamburgerIconArrow)} d="M1,5 L1,5 L1,5"></path>
11 <path className={css(styles.buttonHamburgerIconBottom)} d="M9,9 L1,9"></path>
12 </svg>
13 );