Skip to content

Commit

Permalink
Revert "[Box] Remove component from TypeMap (mui#38168)"
Browse files Browse the repository at this point in the history
This reverts commit de38693.
  • Loading branch information
michaldudak committed Aug 7, 2023
1 parent 03e1598 commit 66a8c09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 165 deletions.
5 changes: 5 additions & 0 deletions packages/mui-system/src/Box/Box.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ export interface BoxTypeMap<
props: AdditionalProps &
SystemProps<Theme> & {
children?: React.ReactNode;
/**
* The component used for the root node.
* Either a string to use a HTML element or a component.
*/
component?: React.ElementType;
ref?: React.Ref<unknown>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
Expand Down
161 changes: 0 additions & 161 deletions packages/mui-system/test/typescript/moduleAugmentation/boxSx.spec.tsx

This file was deleted.

This file was deleted.

0 comments on commit 66a8c09

Please sign in to comment.