Private
Public Access
1
0

feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
2026-04-14 18:52:25 +00:00
parent 1199eff6c3
commit dfa4010406
34820 changed files with 1003813 additions and 205 deletions

View File

@@ -0,0 +1,15 @@
import * as React from 'react';
import type { FluentIconsProps } from './shared';
export declare type UseIconStateOptions = {
flipInRtl?: boolean;
};
/**
* Base version of useIconState
*
* Handles:
* - a11y: aria-hidden, aria-label, role="img"
* - RTL: sets data-fui-icon-rtl attribute when flipInRtl + RTL context
* - Base: sets data-fui-icon attribute for CSS targeting
* - Fill: maps primaryFill to fill prop
*/
export declare const useIconState: <TBaseAttributes extends React.HTMLAttributes<HTMLElement> | React.SVGAttributes<SVGElement> = React.SVGAttributes<SVGElement>, TRefType extends HTMLElement | SVGSVGElement = SVGSVGElement>(props: FluentIconsProps<TBaseAttributes, TRefType>, options?: UseIconStateOptions | undefined) => Pick<FluentIconsProps<TBaseAttributes, TRefType>, "title" | "filled" | "ref" | "key" | "className" | Exclude<keyof TBaseAttributes, "primaryFill">>;