@dabapps/roe
Version:
A Collection of React Components for Project Development
17 lines (16 loc) • 737 B
TypeScript
/// <reference types="react" />
import { HTMLProps, PureComponent } from 'react';
import { ComponentProps } from '../../types';
export declare type RowProps = ComponentProps & HTMLProps<HTMLElement>;
/**
* Used within a container, section, or column, to keep content on separate rows.
* Row exists to allow columns to sit within a container / other column and be
* spaced from each other without adding additional padding to the outsides.
* It does this by using negative margin left and right. Additionally Row has
* a clearfix applied which allows floated elements to be placed inside it
* without it collapsing.
*/
export declare class Row extends PureComponent<RowProps, {}> {
render(): JSX.Element;
}
export default Row;