@adyen/adyen-platform-experience-web
Version:

14 lines • 543 B
TypeScript
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