@base-ui/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
13 lines • 297 B
TypeScript
import * as React from 'react';
export interface CSPContextValue {
nonce?: string;
disableStyleElements?: boolean;
}
/**
* @internal
*/
export declare const CSPContext: React.Context<CSPContextValue | undefined>;
/**
* @internal
*/
export declare function useCSPContext(): CSPContextValue;