We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add a ts decl. file so that I can use this in my ts project,
My project is enterprise and I would like to use this package instead of the over complicated "go to" packages found elsewhere.
The text was updated successfully, but these errors were encountered:
Hi, I don't use typescript but PR are welcome if you want you add it.
Sorry, something went wrong.
@forgowhisky Just add this to your index.d.ts:
index.d.ts
declare module 'react-simple-tooltip' { const Tooltip: React.FC<{ arrow?: number, // 8 background?: string, // "#000" border?: string, // "#000" color?: string, // "#fff" content: any, // - customCss?: any, // - fadeDuration?: number, // 0 fadeEasing?: string, // "linear" fixed?: boolean, // false fontFamily?: boolean, // "inherit" fontSize?: boolean, // "inherit" padding?: number, // 16 placement?: "left" | "top" | "right" | "bottom", // "top" radius?: number, // 0 zIndex?: number, // 1 }> export = Tooltip }
Can someone open a PR to add it? Thanks
No branches or pull requests
Please add a ts decl. file so that I can use this in my ts project,
My project is enterprise and I would like to use this package instead of the over complicated "go to" packages found elsewhere.
The text was updated successfully, but these errors were encountered: