UNPKG

@iconify/utils

Version:

Common functions for working with Iconify icon sets used by various packages.

13 lines (10 loc) 348 B
import { IconifyJSON } from '@iconify/types'; /** * Optional properties that must be copied when copying icon set */ declare const propsToCopy: (keyof IconifyJSON)[]; /** * Extract icons from icon set */ declare function getIcons(data: IconifyJSON, names: string[], not_found?: boolean): IconifyJSON | null; export { getIcons, propsToCopy };