Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123491071
ThemeProvider.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 27, 19:33
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Jul 29, 19:33 (2 d)
Engine
blob
Format
Raw Data
Handle
27661367
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ThemeProvider.d.ts
View Options
import * as React from 'react';
export declare const DEFAULT_BREAKPOINTS: string[];
export declare const DEFAULT_MIN_BREAKPOINT = "xs";
export interface ThemeContextValue {
prefixes: Record<string, string>;
breakpoints: string[];
minBreakpoint?: string;
dir?: string;
}
export interface ThemeProviderProps extends Partial<ThemeContextValue> {
children: React.ReactNode;
}
declare const Consumer: React.Consumer<ThemeContextValue>;
declare function ThemeProvider({ prefixes, breakpoints, minBreakpoint, dir, children, }: ThemeProviderProps): JSX.Element;
declare namespace ThemeProvider {
var propTypes: any;
}
export declare function useBootstrapPrefix(prefix: string | undefined, defaultPrefix: string): string;
export declare function useBootstrapBreakpoints(): string[];
export declare function useBootstrapMinBreakpoint(): string | undefined;
export declare function useIsRTL(): boolean;
declare function createBootstrapComponent(Component: any, opts: any): React.ForwardRefExoticComponent<{
bsPrefix?: string | undefined;
} & React.RefAttributes<any>>;
export { createBootstrapComponent, Consumer as ThemeConsumer };
export default ThemeProvider;
Event Timeline
Log In to Comment