@retriever-ui/system
Version:
35 lines (34 loc) • 991 B
TypeScript
import * as CSS from 'csstype';
import { CSSResponsive, ThemeCSS } from '../type/theme';
export interface PositionsProps {
/**
* The CSS `top` property
*/
top?: CSSResponsive<CSS.Property.Top | number>;
/**
* The CSS `bottom` property
*/
bottom?: CSSResponsive<CSS.Property.Bottom | number>;
/**
* The CSS `top` property
*/
left?: CSSResponsive<CSS.Property.Left | number>;
/**
* The CSS `bottom` property
*/
right?: CSSResponsive<CSS.Property.Right | number>;
/**
* The CSS `position` property
*/
pos?: CSSResponsive<CSS.Property.Position>;
/**
* The CSS `position` property
*/
position?: CSSResponsive<CSS.Property.Position>;
/**
* The CSS `z-index` property
*/
zIndex?: CSSResponsive<CSS.Property.ZIndex | number>;
}
declare const positions: ({ theme, ...props }: ThemeCSS<PositionsProps>) => import("@emotion/utils").SerializedStyles;
export default positions;