I'm trying to use tippy.js css in my project in storybook / typescript / styled-components
I import the css file in my styled-component but I typescript ask me declaration type to use it.
Cannot find module 'tippy.js/themes/material.css' or its corresponding type declarations.
This is my styled-component file :
import styled from 'styled-components';
import Tippy from '@tippyjs/react';
import tippyCss from 'tippy.js/dist/tippy.css';
import tippyMaterialCss from 'tippy.js/themes/material.css';
export const TooltipStyle = styled(Tippy)`
${tippyCss}
${tippyMaterialCss}
`;
Do you know what i should put in the declaration type file ? Thanks a lot.