@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
13 lines (12 loc) • 594 B
TypeScript
import type { PropsFor } from "../../types.js";
export type StickyProps = PropsFor<"div", {
/** Position from top, either as a number in px or a css length string). Default same as `.bf-page-padding`. */
top?: string | number;
/** Remove default styling (padding, background, border-radius and shadow) */
unstyled?: boolean;
}>;
/**
* Sticky is a box that will follow scroll position until it reaches top, then stick there.
*/
declare const Sticky: import("react").ForwardRefExoticComponent<StickyProps & import("react").RefAttributes<HTMLDivElement>>;
export default Sticky;