Skip to content

Commit

Permalink
Add missing string type to <Box> width property (#174)
Browse files Browse the repository at this point in the history
Add missing string type to <Box> width property
  • Loading branch information
icopp authored and Vadim Demedes committed Mar 23, 2019
1 parent 405fe7a commit fb772e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Expand Up @@ -120,8 +120,8 @@ export interface ColorProps {
export const Color: React.FC<ColorProps>;

export interface BoxProps {
readonly width?: number;
readonly height?: number;
readonly width?: number | string;
readonly height?: number | string;
readonly minWidth?: number;
readonly minHeight?: number;
readonly paddingTop?: number;
Expand Down

0 comments on commit fb772e3

Please sign in to comment.