UNPKG

@base-ui-components/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.

6 lines 263 B
/** * Wraps `useId` and prefixes generated `id`s with `base-ui-` * @param {string | undefined} idOverride overrides the generated id when provided * @returns {string | undefined} */ export declare function useBaseUiId(idOverride?: string): string | undefined;