UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

39 lines (38 loc) 943 B
/** * @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;