2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-09 00:10:47 +00:00
iconify/components/svelte/src/iconify.ts
Vjacheslav Trushkin ce135b6cf5 Update components
2022-06-19 19:16:11 +03:00

63 lines
1.3 KiB
TypeScript

/**
* Export required types
*/
// Function sets
export {
IconifyStorageFunctions,
IconifyBuilderFunctions,
IconifyBrowserCacheFunctions,
IconifyAPIFunctions,
IconifyAPIInternalFunctions,
} from './functions';
// JSON stuff
export { IconifyIcon, IconifyJSON, IconifyIconName } from './functions';
// Customisations
export {
IconifyIconCustomisations,
IconifyIconSize,
IconifyIconProps,
IconProps,
IconifyRenderMode,
} from './functions';
// API
export {
IconifyAPIConfig,
IconifyIconLoaderCallback,
IconifyIconLoaderAbort,
IconifyAPIModule,
GetAPIConfig,
IconifyAPIPrepareIconsQuery,
IconifyAPISendQuery,
PartialIconifyAPIConfig,
IconifyAPIQueryParams,
IconifyAPICustomQueryParams,
} from './functions';
// Builder functions
export { IconifyIconBuildResult } from './functions';
// Browser cache
export { IconifyBrowserCacheType } from './functions';
// Component params
export { IconifyIconOnLoad } from './functions';
// Functions
// Important: duplicate of global exports in Icon.svelte. When changing exports, they must be changed in both files.
export { enableCache, disableCache } from './functions';
export {
iconExists,
getIcon,
listIcons,
addIcon,
addCollection,
} from './functions';
export { calculateSize, replaceIDs, buildIcon } from './functions';
export { loadIcons, loadIcon, addAPIProvider, _api } from './functions';