UNPKG

and-design-components-library

Version:

Library of reusable React components based on AND Digital design system.

24 lines (23 loc) 674 B
import { HTMLAttributes } from 'react'; import { SpaceProps, LayoutProps, TypographyProps } from 'styled-system'; export interface BoxProps extends HTMLAttributes<HTMLDivElement>, LayoutProps, SpaceProps, TypographyProps { /** * Wheather to display the container inline-flex * @default false */ inline?: boolean; /** * Shadow style */ boxShadow?: string; /** * Accepts a subset of AND Digital brand colors. * @default 'colors.charcoal' */ color?: string; /** * Accepts a subset of AND Digital brand colors. * @default 'colors.white' */ backgroundColor?: string; }