design-system-simplefi
Version:
Design System for SimpleFi Applications
26 lines (25 loc) • 832 B
TypeScript
import { Property } from 'csstype';
import { SpaceSize } from '../../../theme/space/space.types';
import { StretchEnum } from './Inline.enums';
declare type Stretch = typeof StretchEnum[keyof typeof StretchEnum];
export interface InlineProps {
/**
* Whitespace between each child of the Inline
*/
gap?: SpaceSize;
/**
* Horizontal alignment of elements inside Inline
*
*/
justify?: Property.JustifyContent;
/**
* Vertical alignment of elements inside Inline
*/
align?: Property.AlignItems;
/**
* Child or children to fill available space
*/
stretch?: number | Stretch;
}
declare const Inline: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, InlineProps, never>;
export default Inline;