Skip to content

Type Alias: AnyDropIcons ​

ts
type AnyDropIcons = 
  | Partial<Record<AnyDropIconName | string & object, string>>
  | ((name) => string | HTMLElement | null | undefined)
  | null;

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

Icons as SVG markup, by name, or a function that returns markup or an element per name (null or undefined = the built-in icon). Icons are trusted developer input, never user data.

Released under the MIT License.