Skip to content

Commit

Permalink
[core] Add grid support for Box
Browse files Browse the repository at this point in the history
Resolves #15878
  • Loading branch information
LavaToaster committed Sep 5, 2019
1 parent d50e500 commit 121e9e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/material-ui/src/Box/Box.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
ComposedStyleFunction,
display,
flexbox,
grid,
palette,
positions,
shadows,
Expand All @@ -19,6 +20,7 @@ type BoxStyleFunction = ComposedStyleFunction<
typeof borders,
typeof display,
typeof flexbox,
typeof grid,
typeof palette,
typeof positions,
typeof shadows,
Expand All @@ -42,3 +44,4 @@ export interface BoxProps extends ElementProps, SystemProps {
declare const Box: React.ComponentType<BoxProps>;

export default Box;

2 changes: 2 additions & 0 deletions packages/material-ui/src/Box/Box.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
compose,
display,
flexbox,
grid,
palette,
positions,
shadows,
Expand All @@ -18,6 +19,7 @@ export const styleFunction = css(
borders,
display,
flexbox,
grid,
positions,
palette,
shadows,
Expand Down

0 comments on commit 121e9e9

Please sign in to comment.