Skip to content

Commit 44bd58c

Browse files
committed
fix(tooltips): adds missing tippy styles
1 parent 5f6f02e commit 44bd58c

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.storybook/global.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare module '*.css' {
2+
const content: string;
3+
export default content;
4+
}
5+
6+
declare module 'tippy.js/dist/tippy.css';

src/components/Accordion/component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { AccordionProps } from './types';
33
import * as Styled from './styles';
44
import { MdExpandMore } from 'react-icons/md';
55
import Tippy from '@tippyjs/react';
6+
import 'tippy.js/dist/tippy.css';
67
import { DEFAULT_TOOLTIP_PLACEMENT } from './constants';
78

89
/**

src/components/Button/component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
} from './constants';
1212
import * as Styled from './styles';
1313
import Tippy from '@tippyjs/react';
14+
import 'tippy.js/dist/tippy.css';
1415

1516
/**
1617
* A versatile Button component.

src/global.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare module '*.css' {
2+
const content: string;
3+
export default content;
4+
}
5+
6+
declare module 'tippy.js/dist/tippy.css';

0 commit comments

Comments
 (0)