@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
15 lines (14 loc) • 612 B
TypeScript
import { Ref } from 'vue';
type UseOffsetStickyRootMargin = {
margin: Ref<string>;
};
export declare const overrideMargins: Ref<string | undefined, string | undefined>;
/**
* The useOffsetStickyRootMargin composition is used to provide a rootMargin
* value for sticky headers that are intended to align with the top of the page,
* or just below the mobile nav on smaller screens. Use in conjunction with the
* usePositionStickyObserver composition from vue-compositions.
* @returns UseOffsetStickyRootMargin
*/
export declare function useOffsetStickyRootMargin(): UseOffsetStickyRootMargin;
export {};