UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

14 lines 543 B
export declare const enum ComponentHeadingType { TITLE = 1, SUBTITLE = 2 } export interface UseComponentHeadingElementProps { forwardedToRoot?: boolean; headingType?: ComponentHeadingType; } export declare const useComponentHeadingElement: <T extends HTMLElement>({ headingType, forwardedToRoot }?: UseComponentHeadingElementProps) => { readonly id: string; readonly ref: import("preact/hooks").MutableRef<T | null>; }; export default useComponentHeadingElement; //# sourceMappingURL=useComponentHeadingElement.d.ts.map