diff --git a/types/styled-system/index.d.ts b/types/styled-system/index.d.ts index ea6fdc03db..bd72171894 100644 --- a/types/styled-system/index.d.ts +++ b/types/styled-system/index.d.ts @@ -471,8 +471,13 @@ export function borderColor(...args: any[]): any; export type BorderValue = string | number; export type ResponsiveBorderValue = ResponsiveValue; + export interface BorderProps { border?: ResponsiveBorderValue; +} +export function border(...args: any[]): any; +export interface BordersProps { + border?: ResponsiveBorderValue; borderTop?: ResponsiveBorderValue; borderRight?: ResponsiveBorderValue; borderBottom?: ResponsiveBorderValue; diff --git a/types/styled-system/styled-system-tests.tsx b/types/styled-system/styled-system-tests.tsx index 78340eb3d8..5ddab80596 100644 --- a/types/styled-system/styled-system-tests.tsx +++ b/types/styled-system/styled-system-tests.tsx @@ -60,7 +60,7 @@ import { alignSelf, AlignSelfProps, borders, - BorderProps, + BordersProps, borderRadius, BorderRadiusProps, position, @@ -113,7 +113,7 @@ interface BoxProps FlexProps, JustifySelfProps, AlignSelfProps, - BorderProps, + BordersProps, BorderRadiusProps, PositionProps, ZIndexProps,