feat: tailwind related improvement (#6085)

This commit is contained in:
Joel 2024-07-09 15:05:40 +08:00 • committed by GitHub
commit eff280f3e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
340 changed files with 2117 additions and 417 deletions

View file

@ -1,9 +1,9 @@
'use client'
import type { FC } from 'react'
import React, { useEffect, useRef, useState } from 'react'
import cn from 'classnames'
import { useBoolean } from 'ahooks'
import type { OffsetOptions, Placement } from '@floating-ui/react'
import cn from '@/utils/classnames'
import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger } from '@/app/components/base/portal-to-follow-elem'
export type TooltipProps = {
position?: Placement