UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

10 lines 693 B
import type { BackgroundProps, BorderProps, ColorProps, FlexboxProps, GridProps, LayoutProps, PositionProps, ShadowProps, SpaceProps, TypographyProps } from 'styled-system'; import type { BetterSystemStyleObject } from '../sx'; import type { ComponentProps } from '../utils/types'; type StyledBoxProps = { sx?: BetterSystemStyleObject; } & SpaceProps & ColorProps & TypographyProps & LayoutProps & FlexboxProps & GridProps & BackgroundProps & BorderProps & PositionProps & ShadowProps; declare const Box: import("styled-components").StyledComponent<"div", any, StyledBoxProps, never>; export type BoxProps = ComponentProps<typeof Box>; export default Box; //# sourceMappingURL=Box.d.ts.map