Feat/chat add origin (#1130)

This commit is contained in:
zxhlyh 2023-09-09 19:17:12 +08:00 • committed by GitHub
commit 84c76bc04a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 2454 additions and 28 deletions

View file

@ -15,7 +15,7 @@ import {
useRole,
} from '@floating-ui/react'
import type { Placement } from '@floating-ui/react'
import type { OffsetOptions, Placement } from '@floating-ui/react'
type PortalToFollowElemOptions = {
/*
@ -25,7 +25,7 @@ type PortalToFollowElemOptions = {
*/
placement?: Placement
open?: boolean
offset?: number
offset?: number | OffsetOptions
onOpenChange?: (open: boolean) => void
}