mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
update clear status tooltip
This commit is contained in:
parent
e50d6bdd9b
commit
c622b0cf02
@ -386,7 +386,13 @@ export const TestingModule = ({
|
||||
{hasStatuses && (
|
||||
<WithTooltip
|
||||
hasChrome={false}
|
||||
tooltip={<TooltipNote note="Clear all statuses" />}
|
||||
tooltip={
|
||||
<TooltipNote
|
||||
note={
|
||||
isRunning ? "Can't clear statuses while running tests" : 'Clear all statuses'
|
||||
}
|
||||
/>
|
||||
}
|
||||
trigger="hover"
|
||||
>
|
||||
<IconButton
|
||||
|
Loading…
x
Reference in New Issue
Block a user