@stackoverfloweth/prefect-design
Version:
A collection of low-level Vue components.
14 lines (13 loc) • 529 B
TypeScript
import { Ref } from 'vue';
type UseOffsetStickyRootMargin = {
margin: Ref<string>;
};
/**
* 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 {};