Files
starface-outlook-sync-addin/node_modules/@fluentui/react-icons/lib/utils/createFluentIcon.svg-sprite.d.ts
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

22 lines
948 B
TypeScript

import * as React from 'react';
import type { FluentIconsProps } from './FluentIconsProps.types';
export declare type FluentIcon = React.FC<FluentIconsProps>;
declare type CreateFluentIconOptions = {
flipInRtl?: boolean;
color?: boolean;
};
/**
* Creates a React component for a Fluent icon that references an SVG symbol from a sprite.
*
* @access private
* @alpha
*
* @param iconId - The SVG symbol id in the sprite sheet.
* @param size - The icon size (for example, `"1em"` or a numeric string).
* @param spritePath - Optional path/URL to the SVG sprite file. If omitted, an in-document symbol reference is used.
* @param options - Optional creation settings (for example RTL flipping and color behavior).
* @returns A Fluent icon React component.
*/
export declare const createFluentIcon: (iconId: string, size: string, spritePath?: string | undefined, options?: CreateFluentIconOptions | undefined) => FluentIcon;
export {};