mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
Fix Box width prop
Based on [docs](https://rebassjs.org/props#width),`width` prop also accepts string.
This commit is contained in:
Vendored
+1
-1
@@ -32,7 +32,7 @@ export interface SpaceProps<C> extends BaseProps<C> {
|
||||
|
||||
export interface BoxProps extends SpaceProps<BoxClass> {
|
||||
className?: string;
|
||||
width?: number | ReadonlyArray<number>;
|
||||
width?: number | string | ReadonlyArray<number>;
|
||||
fontSize?: number | ReadonlyArray<number>;
|
||||
css?: Object;
|
||||
color?: string;
|
||||
|
||||
Reference in New Issue
Block a user