jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
39 lines (38 loc) • 943 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Position something fixed within the page.
*/
import React from 'react';
export declare const StyledFixed: import("styled-components").StyledComponent<"div", any, PositionFixedProps, never>;
export interface PositionFixedProps {
/**
* Top position for the element.
*/
top?: string;
/**
* Bottom position for the element.
*/
bottom?: string;
/**
* Right position for the element.
*/
right?: string;
/**
* Left position for the element.
*/
left?: string;
/**
* Z-index for the element.
*/
zIndex?: number;
/**
* Content to be inserted inside the fixed element.
*/
children?: React.ReactNode;
}
/**
* Positions an element fixed on the page.
*/
export declare const FixedElement: ({ top, bottom, right, left, zIndex, children }: PositionFixedProps) => JSX.Element;
export default FixedElement;