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,6 @@
import * as React from 'react';
export interface IconDirectionContextValue {
textDirection?: 'ltr' | 'rtl';
}
export declare const IconDirectionContextProvider: React.Provider<IconDirectionContextValue | undefined>;
export declare const useIconContext: () => IconDirectionContextValue;

View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useIconContext = exports.IconDirectionContextProvider = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const IconDirectionContext = React.createContext(undefined);
const IconDirectionContextDefaultValue = {};
exports.IconDirectionContextProvider = IconDirectionContext.Provider;
const useIconContext = () => {
const context = React.useContext(IconDirectionContext);
return context !== null && context !== void 0 ? context : IconDirectionContextDefaultValue;
};
exports.useIconContext = useIconContext;

View File

@@ -0,0 +1 @@
export * from './IconDirectionContext';

View File

@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./IconDirectionContext"), exports);