@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
19 lines • 669 B
TypeScript
import React from 'react';
export interface AffixProps extends React.ComponentPropsWithoutRef<'div'> {
/** Element where portal should be rendered, by default new div element is created and appended to document.body */
target?: HTMLDivElement;
/** Root element z-index property */
zIndex?: number;
/** Fixed position in px */
position?: {
top?: number;
left?: number;
bottom?: number;
right?: number;
};
}
export declare function Affix({ target, style, position, zIndex, ...others }: AffixProps): JSX.Element;
export declare namespace Affix {
var displayName: string;
}
//# sourceMappingURL=Affix.d.ts.map