@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
20 lines (19 loc) • 814 B
TypeScript
import * as React from 'react';
export declare const DEFAULT_LAYOUT_WIDTH = "100%";
export declare const DEFAULT_CONTENT_WIDTH = "71.25rem";
export declare const TRANSPARENT = "transparent";
interface LayoutProps extends React.HTMLAttributes<HTMLDivElement> {
/** The width of the layout, edge to edge. */
layoutWidth?: string;
/** The width of the content within the layout. */
contentWidth?: string;
/** The background color of the layout. Default is transparent. */
layoutBackgroundColor?: string;
/** The background color of the content within the layout area. Default is transparent. */
contentBackgroundColor?: string;
/** Additional classname. */
className?: string;
children?: any;
}
export declare const Layout: React.FunctionComponent<LayoutProps>;
export {};