Skip to content

Commit

Permalink
fixed tooltip showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-wishes committed Oct 25, 2023
1 parent 4744159 commit a56399d
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 79 deletions.
148 changes: 74 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"react-joyride": "^2.6.2",
"react-router-dom": "^6.17.0",
"react-toastify": "^9.1.3",
"react-tooltip": "^5.21.5",
"react-tooltip": "^5.21.6",
"use-resize-observer": "^9.1.0"
},
"devDependencies": {
Expand Down Expand Up @@ -102,7 +102,7 @@
"stylelint-config-tailwindcss": "^0.0.7",
"stylelint-order": "^6.0.3",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.3.3",
"tailwindcss": "^3.3.4",
"typescript": "^5.2.2",
"typescript-plugin-css-modules": "^5.0.2",
"vite": "^4.5.0",
Expand Down
6 changes: 3 additions & 3 deletions showcase/src/components/showcase/wrapper/TooltipShowcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ function TooltipShowcase(props: ShowcaseProps) {
//#region tooltip
// import 'react-tooltip/dist/react-tooltip.css'
const example = (
<div>
<div id="tooltip-1">
<div className="flex h-48 w-full items-center justify-center">
<div data-tooltip-id="tooltip-1">
<SearchIcon label="" />
</div>
<Tooltip data-tooltip-id="tooltip-1" place="right">
<Tooltip id="tooltip-1" place="right">
<span>I&apos;m a tooltip...</span>
</Tooltip>
</div>
Expand Down

0 comments on commit a56399d

Please sign in to comment.