UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

30 lines (29 loc) 897 B
import * as React from 'react'; import { SpaceProps } from '@xstyled/system'; import { BreakpointType, GridSetting, GridSettings } from '../utils'; import { ResponsiveContextProps } from '../ResponsiveProvider/ResponsiveProvider.component'; interface CellProps extends SpaceProps { align?: string; area?: string; children?: any; className?: string; debug?: boolean; height?: GridSetting; left?: GridSetting; responsiveCSS?: BreakpointType[]; top?: GridSetting; valign?: string; width?: GridSetting; center?: boolean; middle?: boolean; } interface CellState { generalSettings: GridSettings; sortedResponsiveCSS: BreakpointType[]; } export declare class Cell extends React.PureComponent<CellProps> { readonly state: CellState; constructor(props: CellProps, context: ResponsiveContextProps); render(): JSX.Element; } export {};