@primer/react
Version:
An implementation of GitHub's Primer Design System using React
18 lines • 1.12 kB
TypeScript
import type { BackgroundProps, BorderProps, ColorProps, FlexboxProps, GridProps, LayoutProps, PositionProps, ShadowProps, SpaceProps, TypographyProps } from 'styled-system';
import type { SxProp } from '../sx';
import type { ComponentProps } from '../utils/types';
type StyledBoxProps = SxProp & SpaceProps & ColorProps & TypographyProps & LayoutProps & FlexboxProps & GridProps & BackgroundProps & BorderProps & PositionProps & ShadowProps;
/**
* @deprecated The Box component is deprecated. Replace with a `div` or
* appropriate HTML element instead, with CSS modules for styling.
* @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
*/
declare const Box: import("styled-components").StyledComponent<"div", any, StyledBoxProps, never>;
/**
* @deprecated The Box component is deprecated. Replace with a `div` or
* appropriate HTML element instead, with CSS modules for styling.
* @see https://github.com/primer/react/blob/main/contributor-docs/migration-from-box.md
*/
export type BoxProps = ComponentProps<typeof Box>;
export default Box;
//# sourceMappingURL=Box.d.ts.map