mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #26715 from zephraph/fix-border-issue
[styled-system] Add type for border export
This commit is contained in:
Vendored
+5
@@ -471,8 +471,13 @@ export function borderColor(...args: any[]): any;
|
||||
|
||||
export type BorderValue = string | number;
|
||||
export type ResponsiveBorderValue = ResponsiveValue<BorderValue>;
|
||||
|
||||
export interface BorderProps {
|
||||
border?: ResponsiveBorderValue;
|
||||
}
|
||||
export function border(...args: any[]): any;
|
||||
export interface BordersProps {
|
||||
border?: ResponsiveBorderValue;
|
||||
borderTop?: ResponsiveBorderValue;
|
||||
borderRight?: ResponsiveBorderValue;
|
||||
borderBottom?: ResponsiveBorderValue;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user