design-system-simplefi
Version:
Design System for SimpleFi Applications
23 lines (22 loc) • 731 B
TypeScript
import { Property } from 'csstype';
import { SpaceSize } from '../../../theme/space/space.types';
export interface StackProps {
/**
* Whitespace between each child of the Stack
*/
gap?: SpaceSize;
/**
* Horizontal alignment of elements inside Inline
*/
justify?: Property.AlignItems;
/**
* Index of element after which the Stack is splitted. Leave 'undefined' for no splitting.
*/
splitAt?: number;
/**
* Should apply gap recursively (on nested levels)
*/
isRecursive?: boolean;
}
declare const Stack: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StackProps, never>;
export default Stack;