Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit e6e3d0f

Browse files
committed
fix(types.ts): Added number in margin and padding
1 parent 3d80177 commit e6e3d0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_internal/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ type CSSRadiusValues =
9999
export type CustomExtendProperties = {
100100
width?: CSSNumericValue | CSSLengthSubValue;
101101
height?: CSSNumericValue | CSSLengthSubValue;
102-
margin?: CSSMarginEdgeSizeValues;
102+
margin?: CSSMarginEdgeSizeValues | number;
103103
marginBottom?: CSSNumericValue | 'auto';
104104
marginLeft?: CSSNumericValue | 'auto';
105105
marginRight?: CSSNumericValue | 'auto';
106106
marginTop?: CSSNumericValue | 'auto';
107-
padding?: CSSPaddingEdgeSizeValues;
107+
padding?: CSSPaddingEdgeSizeValues | number;
108108
paddingBottom?: CSSNumericValue;
109109
paddingLeft?: CSSNumericValue;
110110
paddingRight?: CSSNumericValue;

0 commit comments

Comments
 (0)