UNPKG

nice-ui

Version:

React design system, components, and utilities

14 lines (13 loc) 605 B
import { BehaviorSubject } from 'rxjs'; export declare class IconsGridState { cdn(cdn?: 'jsdelivr' | 'unpkg' | 'esmsh'): string; href(set: string, icon: string, cdn?: 'jsdelivr' | 'unpkg' | 'esmsh'): string; readonly sets$: BehaviorSubject<string[]>; readonly icons$: BehaviorSubject<Map<string, string[]>>; readonly selected$: BehaviorSubject<[set: string, icon: string] | null>; load(): Promise<void>; readonly select: (set: string, icon: string) => void; readonly unselect: () => void; private srcCache; getIconSrc(set: string, icon: string): Promise<string>; }