import { index_d_exports } from "../coin/index.mjs"; import { index_d_exports as index_d_exports$1 } from "../defi/index.mjs"; import { index_d_exports as index_d_exports$2 } from "../devtool/index.mjs"; import { index_d_exports as index_d_exports$3 } from "../dex/index.mjs"; import { index_d_exports as index_d_exports$4 } from "../domain/index.mjs"; import { index_d_exports as index_d_exports$5 } from "../exchange/index.mjs"; import { index_d_exports as index_d_exports$6 } from "../explorer/index.mjs"; import { index_d_exports as index_d_exports$7 } from "../marketplace/index.mjs"; import { index_d_exports as index_d_exports$8 } from "../node/index.mjs"; import { index_d_exports as index_d_exports$9 } from "../oracle/index.mjs"; import { index_d_exports as index_d_exports$10 } from "../portfolio/index.mjs"; import { index_d_exports as index_d_exports$11 } from "../storage/index.mjs"; import { index_d_exports as index_d_exports$12 } from "../tracker/index.mjs"; import { index_d_exports as index_d_exports$13 } from "../wallet/index.mjs"; import "./createIcon.mjs"; import { index_d_exports as index_d_exports$14 } from "../chain/index.mjs"; import { index_d_exports as index_d_exports$15 } from "../bridge/index.mjs"; import { SVGProps } from "react"; //#region src/utils/index.d.ts type AllIconModules = typeof index_d_exports$15 & typeof index_d_exports$14 & typeof index_d_exports & typeof index_d_exports$1 & typeof index_d_exports$2 & typeof index_d_exports$3 & typeof index_d_exports$4 & typeof index_d_exports$5 & typeof index_d_exports$6 & typeof index_d_exports$7 & typeof index_d_exports$8 & Omit & typeof index_d_exports$10 & typeof index_d_exports$11 & typeof index_d_exports$12 & typeof index_d_exports$13; /** * Union type of all exported icon component names. * Derived automatically from category exports — stays in sync as icons are added. * * @example * ```tsx * import type { IconName } from 'react-web3-icons'; * import * as allIcons from 'react-web3-icons'; * * function DynamicIcon({ name }: { name: IconName }) { * const Icon = allIcons[name]; * return ; * } * ``` */ type IconName = keyof AllIconModules; /** * Props accepted by all icon components. * Extends all standard SVG attributes (`fill`, `stroke`, `onClick`, etc.). */ interface IconProps extends SVGProps { /** Accessible label rendered as a `` element inside the SVG. When provided, the icon is no longer treated as decorative. */ title?: string; /** ID applied to the `<title>` element. When provided together with `title`, `aria-labelledby` is automatically set to this value on the `<svg>`. */ titleId?: string; /** * Shorthand for both `width` and `height`. Defaults to `"1em"` so the icon scales with the surrounding font size. * Overridden by explicit `width` or `height` props. */ size?: string | number; } //#endregion export { IconName, IconProps }; //# sourceMappingURL=index.d.mts.map