mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Refactored exports.
This commit is contained in:
parent
1baf4d5571
commit
8bddc666b4
110 changed files with 317 additions and 124 deletions
|
|
@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
|
|||
import { Tooltip } from 'react-basics';
|
||||
import styles from './HoverTooltip.module.css';
|
||||
|
||||
export default function HoverTooltip({ tooltip }) {
|
||||
export function HoverTooltip({ tooltip }) {
|
||||
const [position, setPosition] = useState({ x: -1000, y: -1000 });
|
||||
|
||||
useEffect(() => {
|
||||
|
|
@ -23,3 +23,5 @@ export default function HoverTooltip({ tooltip }) {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default HoverTooltip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue