Skip to content

Type Alias: AnyDropRenderResult<C> ​

ts
type AnyDropRenderResult<C> = 
  | HTMLElement
  | AnyDropRenderView<C>
  | string
  | null
  | undefined
  | void;

Defined in: ui/src/types.ts:84

What a render hook may return: an element, a view, text, or nothing (keep the default content).

Type Parameters ​

Type Parameter
C

Released under the MIT License.