UNPKG

@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.

7 lines 279 B
import * as React from 'react'; export interface CSPContextValue { nonce?: string | undefined; disableStyleElements?: boolean | undefined; } export declare const CSPContext: React.Context<CSPContextValue | undefined>; export declare function useCSPContext(): CSPContextValue;