File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ export type ComputeConfig = Partial<ComputePositionConfig> & {
1818 autoUpdate ?: boolean | Partial < AutoUpdateOptions >
1919} ;
2020export type UpdatePosition = ( contentOptions ?: Omit < ComputeConfig , 'autoUpdate' > ) => void ;
21- export type ReferenceAction = ( node : HTMLElement | Writable < VirtualElement > | VirtualElement ) => void ;
22- export type ContentAction = ( node : HTMLElement , contentOptions ?: ComputeConfig ) => void ;
23- export type ArrowOptions = { padding ?: Padding , element : Writable < HTMLElement | undefined | null > } ;
21+ export type ReferenceAction = ( node : HTMLElement | SVGElement | Writable < VirtualElement > | VirtualElement ) => void ;
22+ export type ContentAction = ( node : HTMLElement | SVGElement , contentOptions ?: ComputeConfig ) => void ;
23+ export type ArrowOptions = { padding ?: Padding , element : Writable < HTMLElement | SVGElement | undefined | null > } ;
2424
2525export function createFloatingActions ( initOptions ?: ComputeConfig ) : [ ReferenceAction , ContentAction , UpdatePosition ] {
2626 let referenceElement : ReferenceElement ;
You can’t perform that action at this time.
0 commit comments