UNPKG

design-system-simplefi

Version:

Design System for SimpleFi Applications

22 lines (21 loc) 641 B
import { SpaceSize } from '../../../theme/space/space.types'; export interface CenterProps { /** * Maximal content width */ maxWidth?: number; /** * Gutters arround content. Gutters are not counted in maximal content width. */ gutters?: SpaceSize; /** * Centers all children inside component */ areChildrenCentered?: boolean; /** * Centers text in component */ isTextCentered?: boolean; } declare const Center: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, CenterProps, never>; export default Center;