Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinsawicki committed Oct 31, 2023
1 parent d8b22c7 commit 33de520
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ import * as React from 'react';

import { vi } from 'vitest';

import {
render,
fireEvent,
cleanup,
act,
waitFor,
userEvent,
} from 'test-utils';
import { render, cleanup, waitFor, userEvent } from 'test-utils';

import { Tooltip } from './Tooltip';
import { ITooltipProps } from './types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';

import { ComponentMeta } from '@storybook/react';
import { ComponentMeta, Story, StoryFn } from '@storybook/react';

import noop from '../../utils/noop';
import { Button } from '../Button';
Expand Down Expand Up @@ -59,7 +59,7 @@ Default.args = {
isVisible: true,
};
Default.decorators = [
(Story) => (
(Story: StoryFn) => (
<div className="tooltip-story default">
<Story />
</div>
Expand All @@ -80,7 +80,7 @@ TooltipInfo.args = {
isVisible: true,
};
TooltipInfo.decorators = [
(Story) => (
(Story: StoryFn) => (
<div className="tooltip-story info">
<Story />
</div>
Expand Down Expand Up @@ -112,7 +112,7 @@ TooltipInteractive.args = {
isVisible: true,
};
TooltipInteractive.decorators = [
(Story) => (
(Story: StoryFn) => (
<div className="tooltip-story interactive">
<Story />
</div>
Expand All @@ -137,7 +137,7 @@ TooltipReports.args = {
fullSpaceContent: true,
};
TooltipReports.decorators = [
(Story) => (
(Story: StoryFn) => (
<div className="tooltip-story reports">
<Story />
</div>
Expand Down

0 comments on commit 33de520

Please sign in to comment.