@@ -43,7 +43,7 @@ minimal and by so, efficient in small areas. Icon Buttons should be associated w
43
43
<Box paddingBottom = { 3 } >
44
44
<Typography >{ currentAction } </Typography >
45
45
</Box >
46
- <Flex >
46
+ <Flex background = " neutral100 " gap = { 1 } padding = { 2 } >
47
47
<IconButton onClick = { () => setCurrentAction (' edit' )} label = " Edit" icon = { <Pencil />} />
48
48
<IconButton onClick = { () => setCurrentAction (' Create' )} label = " Create" icon = { <Plus />} />
49
49
<IconButton onClick = { () => setCurrentAction (' Delete' )} label = " Delete" icon = { <Trash />} />
@@ -68,7 +68,7 @@ Depending on the status of an action or the permissions, an IconButton can be un
68
68
<Box paddingBottom = { 3 } >
69
69
<Typography >{ currentAction } </Typography >
70
70
</Box >
71
- <Flex >
71
+ <Flex background = " neutral100 " gap = { 1 } padding = { 2 } >
72
72
<IconButton disabled onClick = { () => setCurrentAction (' edit' )} label = " Edit" icon = { <Pencil />} />
73
73
<IconButton disabled onClick = { () => setCurrentAction (' Create' )} label = " Create" icon = { <Plus />} />
74
74
<IconButton disabled onClick = { () => setCurrentAction (' Delete' )} label = " Delete" icon = { <Trash />} />
@@ -89,7 +89,9 @@ the button.**
89
89
<Canvas >
90
90
<Story name = " without tooltip" >
91
91
<Box padding = { 7 } >
92
- <IconButton onClick = { () => console .log (' edit' )} aria-label = " Edit" icon = { <Pencil />} />
92
+ <Flex background = " neutral100" gap = { 1 } padding = { 2 } >
93
+ <IconButton onClick = { () => console .log (' edit' )} aria-label = " Edit" icon = { <Pencil />} />
94
+ </Flex >
93
95
</Box >
94
96
</Story >
95
97
</Canvas >
@@ -101,12 +103,14 @@ IconButtons can be used within another component is a Group shape.
101
103
<Canvas >
102
104
<Story name = " group" >
103
105
<Box padding = { 7 } >
104
- <IconButtonGroup >
105
- <IconButton onClick = { () => console .log (' edit' )} label = " Edit" icon = { <Pencil />} />
106
- <IconButton onClick = { () => console .log (' Create' )} label = " Create" icon = { <Plus />} />
107
- <IconButton onClick = { () => console .log (' Delete' )} label = " Delete" icon = { <Trash />} />
108
- <IconButton onClick = { () => console .log (' Publish' )} label = " Publish" icon = { <Play />} />
109
- </IconButtonGroup >
106
+ <Flex background = " neutral100" gap = { 1 } padding = { 2 } >
107
+ <IconButtonGroup >
108
+ <IconButton onClick = { () => console .log (' edit' )} label = " Edit" icon = { <Pencil />} />
109
+ <IconButton onClick = { () => console .log (' Create' )} label = " Create" icon = { <Plus />} />
110
+ <IconButton onClick = { () => console .log (' Delete' )} label = " Delete" icon = { <Trash />} />
111
+ <IconButton onClick = { () => console .log (' Publish' )} label = " Publish" icon = { <Play />} />
112
+ </IconButtonGroup >
113
+ </Flex >
110
114
</Box >
111
115
</Story >
112
116
</Canvas >
@@ -124,7 +128,7 @@ IconButtons can take Icons as their children and can be fully accessible without
124
128
<Box paddingBottom = { 3 } >
125
129
<Typography >{ currentAction } </Typography >
126
130
</Box >
127
- <Flex >
131
+ <Flex background = " neutral100 " gap = { 1 } padding = { 2 } >
128
132
<IconButton onClick = { () => setCurrentAction (' Edit' )} aria-label = " Edit" >
129
133
<Pencil />
130
134
</IconButton >
0 commit comments