Feat/chat add origin (#1130)

This commit is contained in:
zxhlyh
2023-09-09 19:17:12 +08:00
committed by GitHub
parent 6effcd3755
commit 84c76bc04a
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
}