UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

36 lines 1.22 kB
import React from 'react'; import { PartialTheme, Theme } from '@fluentui/react'; /** * Props for {@link FluentThemeProvider}. * * @public */ export interface FluentThemeProviderProps { /** Children to be themed. */ children: React.ReactNode; /** Theme for components. Defaults to a light theme if not provided. */ fluentTheme?: PartialTheme | Theme; /** * Whether components are displayed right-to-left * @defaultValue `false` */ rtl?: boolean; /** Optional style to change the root style of the ThemeProvider */ rootStyle?: React.CSSProperties | undefined; } /** * Provider to apply a Fluent theme across this library's react components. * * @remarks Components in this library are composed primarily from [Fluent UI](https://developer.microsoft.com/fluentui#/controls/web), * controls, mixing v8 and v9 controls. * This provider handles applying any theme provided to the underlying Fluent UI controls. * * @public */ export declare const FluentThemeProvider: (props: FluentThemeProviderProps) => JSX.Element; /** * React hook to access theme * * @public */ export declare const useTheme: () => Theme; //# sourceMappingURL=FluentThemeProvider.d.ts.map