UNPKG

zent

Version:

一套前端设计语言和基于React的实现

13 lines (12 loc) 486 B
/// <reference types="react" /> export interface IElevatorContextProps { activeLink: string; offsetTop: number; onLinkClick: (link: string) => void; getContainer?: () => HTMLElement; onAnchorEnter: (link: string) => void; onAnchorLeave?: (link: string) => void; registerAnchor: (link: string, element: HTMLElement) => void; unRegisterAnchor: (link: string) => void; } export declare const ElevatorContext: import("react").Context<IElevatorContextProps>;