Skip to content

RedDokia API Reference / RedDokiaIconValue

Type Alias: RedDokiaIconValue ​

ts
type RedDokiaIconValue = 
  | RedDokiaIconName
  | string & object
  | Node
  | ((className) => Node | null)
  | ((props) => unknown)
  | (new (props) => unknown)
  | {
  $$typeof?: symbol;
  props?: unknown;
  type?: unknown;
};

Union of supported icon inputs across framework and Vanilla RedDokia engines (RedDokiaIcons.* constant, inline SVG / image URL string, DOM Node, or framework icon component/element).