1 | import * as React from 'react';
|
2 | export declare const DEFAULT_BREAKPOINTS: string[];
|
3 | export declare const DEFAULT_MIN_BREAKPOINT = "xs";
|
4 | export interface ThemeContextValue {
|
5 | prefixes: Record<string, string>;
|
6 | breakpoints: string[];
|
7 | minBreakpoint?: string;
|
8 | dir?: string;
|
9 | }
|
10 | export interface ThemeProviderProps extends Partial<ThemeContextValue> {
|
11 | children: React.ReactNode;
|
12 | }
|
13 | declare const Consumer: React.Consumer<ThemeContextValue>;
|
14 | declare function ThemeProvider({ prefixes, breakpoints, minBreakpoint, dir, children, }: ThemeProviderProps): React.JSX.Element;
|
15 | declare namespace ThemeProvider {
|
16 | var propTypes: any;
|
17 | }
|
18 | export declare function useBootstrapPrefix(prefix: string | undefined, defaultPrefix: string): string;
|
19 | export declare function useBootstrapBreakpoints(): string[];
|
20 | export declare function useBootstrapMinBreakpoint(): string | undefined;
|
21 | export declare function useIsRTL(): boolean;
|
22 | declare function createBootstrapComponent(Component: any, opts: any): React.ForwardRefExoticComponent<{
|
23 | bsPrefix?: string | undefined;
|
24 | } & React.RefAttributes<any>>;
|
25 | export { createBootstrapComponent, Consumer as ThemeConsumer };
|
26 | export default ThemeProvider;
|