zent
Version:
一套前端设计语言和基于React的实现
18 lines (17 loc) • 570 B
TypeScript
/// <reference types="react" />
export interface IAffixImperativeHandlers {
updatePosition: () => void;
}
export interface IAffixProps {
offsetTop?: number;
offsetBottom?: number;
getAffixContainer?: () => HTMLElement | null;
children?: React.ReactNode;
onPin?: () => void;
onUnpin?: () => void;
zIndex?: number;
className?: string;
placeholderClassName?: string;
}
export declare const Affix: import("react").ForwardRefExoticComponent<IAffixProps & import("react").RefAttributes<IAffixImperativeHandlers>>;
export default Affix;