mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
add folder browsing support (#315)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Tooltip as MantineTooltip, TooltipProps as MantineTooltipProps } from '@mantine/core';
|
||||
import clsx from 'clsx';
|
||||
|
||||
import styles from './tooltip.module.css';
|
||||
|
||||
@@ -6,6 +7,7 @@ export interface TooltipProps extends MantineTooltipProps {}
|
||||
|
||||
export const Tooltip = ({
|
||||
children,
|
||||
classNames,
|
||||
openDelay = 500,
|
||||
transitionProps = {
|
||||
duration: 250,
|
||||
@@ -18,7 +20,8 @@ export const Tooltip = ({
|
||||
<MantineTooltip
|
||||
arrowSize={10}
|
||||
classNames={{
|
||||
tooltip: styles.tooltip,
|
||||
...classNames,
|
||||
tooltip: clsx(styles.tooltip, classNames?.['tooltip']),
|
||||
}}
|
||||
multiline
|
||||
openDelay={openDelay}
|
||||
|
||||
Reference in New Issue
Block a user