apphouse
Version:
Component library for React that uses observable state management and theme-able components.
19 lines (18 loc) • 680 B
TypeScript
import { CSSProperties } from 'glamor';
export declare enum PositionOptionsType {
bottom = "bottom",
top = "top",
left = "left",
right = "right",
center = "center",
'center-top' = "center-top",
'center-bottom' = "center-bottom",
'center-left' = "center-left",
'center-right' = "center-right",
'top-left' = "top-left",
'top-right' = "top-right",
'bottom-left' = "bottom-left",
'bottom-right' = "bottom-right"
}
export declare const getStylesForPosition: (position?: keyof typeof PositionOptionsType) => CSSProperties;
export declare const getSelfStylesForPosition: (position?: keyof typeof PositionOptionsType) => CSSProperties;