@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
13 lines (12 loc) • 377 B
TypeScript
/**
* Returns an ID for use by the layout element and skip links.
*
* If the consumer has already provided an ID, it will be used instead.
* Otherwise, a unique ID will be returned.
*/
export declare function useLayoutId({ providedId, }?: {
/**
* The ID provided by the consumer. If provided, it will be used instead.
*/
providedId?: string;
}): string;