File tree Expand file tree Collapse file tree 4 files changed +56
-3
lines changed
packages/orchestrator-ui-components/src Expand file tree Collapse file tree 4 files changed +56
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import {
1717import { WfoAppLogo } from '@/components/WfoPageTemplate/WfoPageHeader/WfoAppLogo' ;
1818import { getWfoPageHeaderStyles } from '@/components/WfoPageTemplate/WfoPageHeader/styles' ;
1919import { useOrchestratorTheme , useWithOrchestratorTheme } from '@/hooks' ;
20- import { WfoLogoutIcon } from '@/icons' ;
20+ import { WfoLogoutIcon , WfoSideMenu } from '@/icons' ;
2121
2222export interface WfoPageHeaderProps {
2323 // todo: should be part of theme!
@@ -51,10 +51,10 @@ export const WfoPageHeader: FC<WfoPageHeaderProps> = ({
5151 </ EuiHeaderSectionItem >
5252
5353 < EuiButtonIcon
54- aria-label = "Logout "
54+ aria-label = "Show/Hide side menu "
5555 display = "empty"
5656 iconType = { ( ) => (
57- < WfoLogoutIcon color = { theme . colors . emptyShade } />
57+ < WfoSideMenu color = { theme . colors . emptyShade } />
5858 ) }
5959 css = { { width : 48 , height : 48 , marginLeft : 10 } }
6060 onClick = { handleSideMenuClick }
Original file line number Diff line number Diff line change 1+ import type { Meta } from '@storybook/react' ;
2+
3+ import { WfoSideMenu } from './WfoSidemenu' ;
4+
5+ const Story : Meta < typeof WfoSideMenu > = {
6+ component : WfoSideMenu ,
7+ title : 'Icons/WfoSideMenu' ,
8+ } ;
9+ export default Story ;
10+
11+ export const Primary = {
12+ args : { } ,
13+ } ;
Original file line number Diff line number Diff line change 1+ import React , { FC } from 'react' ;
2+
3+ import { WfoIconProps } from './WfoIconProps' ;
4+
5+ export const WfoSideMenu : FC < WfoIconProps > = ( {
6+ width = 20 ,
7+ height = 20 ,
8+ color = '#000000' ,
9+ } ) => (
10+ < svg
11+ width = { width }
12+ height = { height }
13+ viewBox = "0 0 60 60"
14+ version = "1.1"
15+ xmlns = "http://www.w3.org/2000/svg"
16+ >
17+ < title > icon/sidemenu</ title >
18+ < g id = "Symbols" stroke = "none" strokeWidth = "6" fill = "none" >
19+ < g
20+ id = "icon/sidemenu"
21+ stroke = { color }
22+ transform = "translate(-1.4305115e-6,0.00126457)"
23+ >
24+ < path
25+ d = "M 20.638709,3.2354373 20.962452,56.561712"
26+ id = "path1"
27+ > </ path >
28+ < rect
29+ id = "rect1"
30+ width = "53.322857"
31+ height = "53.326275"
32+ x = "3.3385715"
33+ y = "3.3373055"
34+ ry = "11.207431"
35+ > </ rect >
36+ </ g >
37+ </ g >
38+ </ svg >
39+ ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export * from './WfoMinusCircleFill';
1515export * from './WfoSearchStrikethrough' ;
1616export * from './WfoSortAsc' ;
1717export * from './WfoSortDesc' ;
18+ export * from './WfoSideMenu' ;
1819export * from './WfoPlayFill' ;
1920export * from './WfoCode' ;
2021export * from './WfoEyeFill' ;
You can’t perform that action at this time.
0 commit comments