@greensight/gds
Version:
Greensight Design System
21 lines (20 loc) • 608 B
TypeScript
import { FC, HTMLProps } from 'react';
import { AllowMedia } from '../../../types/emotion/Layout';
export interface SectionProps extends HTMLProps<HTMLDivElement> {
/** Wrap content in container. */
container?: boolean;
/** Bottom offset. */
mb?: AllowMedia<number>;
/** Vertical paddings. */
pv?: AllowMedia<number>;
/** Top padding. */
pt?: AllowMedia<number>;
/** Bottom padding. */
pb?: AllowMedia<number>;
/** Background color. */
bg?: AllowMedia<string>;
}
/**
* Component for creating page sections.
*/
export declare const Section: FC<SectionProps>;