From 0fbc744ce7343298b7e507fa0ba3fcacdfffa06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Alberto?= Date: Sat, 12 Jan 2019 18:25:33 -0200 Subject: [PATCH] Fix Box width prop Based on [docs](https://rebassjs.org/props#width),`width` prop also accepts string. --- types/rebass/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/rebass/index.d.ts b/types/rebass/index.d.ts index ca0114c335..f05d136f69 100644 --- a/types/rebass/index.d.ts +++ b/types/rebass/index.d.ts @@ -32,7 +32,7 @@ export interface SpaceProps extends BaseProps { export interface BoxProps extends SpaceProps { className?: string; - width?: number | ReadonlyArray; + width?: number | string | ReadonlyArray; fontSize?: number | ReadonlyArray; css?: Object; color?: string;