We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f418236 commit a31432bCopy full SHA for a31432b
FluentMessageBar/FluentMessageBar/components/Toolbar/ToolbarComponent.tsx
@@ -76,7 +76,7 @@ export const ToolbarComponent = React.memo((props: CustomToolbarProps) => {
76
},
77
};
78
79
- const toolbarButton = (
+ const toolbarButtonProps = (
80
<ToolbarButton {...buttonProps} className={styles.content}>
81
<span
82
style={{
@@ -96,10 +96,10 @@ export const ToolbarComponent = React.memo((props: CustomToolbarProps) => {
96
<OverflowItem key={item.key} id={item.key}>
97
{item.tooltip ? (
98
<Tooltip content={item.tooltip} relationship="description" withArrow>
99
- {toolbarButton}
+ {toolbarButtonProps}
100
</Tooltip>
101
) : (
102
- toolbarButton
+ toolbarButtonProps
103
)}
104
</OverflowItem>
105
);
0 commit comments