flowbite-svelte
Version:
Flowbite components for Svelte
24 lines (23 loc) • 681 B
TypeScript
import type { ScrollSpyProps } from "../types";
/**
* [Go to docs](https://flowbite-svelte.com/)
* ## Type
* [ScrollSpyProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2328)
* ## Props
* @prop items
* @prop position = "top"
* @prop offset = 0
* @prop sticky = true
* @prop activeClass = ""
* @prop inactiveClass = ""
* @prop class: className = ""
* @prop smoothScroll = true
* @prop scrollContainer
* @prop onActiveChange
* @prop onNavigate
* @prop classes
* @prop ...restProps
*/
declare const ScrollSpy: import("svelte").Component<ScrollSpyProps, {}, "">;
type ScrollSpy = ReturnType<typeof ScrollSpy>;
export default ScrollSpy;