Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-icons/lib/base/createFluentIcon.d.ts

21 lines
776 B
TypeScript

import * as React from 'react';
import type { FluentIconsProps } from './shared';
export declare type FluentIcon = React.FC<FluentIconsProps>;
export declare type CreateFluentIconOptions = {
flipInRtl?: boolean;
color?: boolean;
};
/**
* Base createFluentIcon — SVG icon factory without Styles.
*
* Returns a React component that renders an SVG icon with:
* - data-fui-icon attribute for CSS targeting
* - a11y attributes (aria-hidden, aria-label, role)
* - RTL flip via data-fui-icon-rtl attribute
* - HCM forced-color-adjust via CSS attribute selector
*
* @access private
* @alpha
*/
export declare const createFluentIcon: (displayName: string, width: string, pathsOrSvg: string[] | string, options?: CreateFluentIconOptions | undefined) => FluentIcon;