forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[joy-ui][Box] Added boxClasses (mui#39895)
- Loading branch information
1 parent
9a805ae
commit 597b787
Showing
5 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; | ||
|
||
export interface BoxClasses { | ||
/** Class name applied to the root element. */ | ||
root: string; | ||
} | ||
|
||
export type BoxClassKey = keyof BoxClasses; | ||
|
||
const boxClasses: BoxClasses = generateUtilityClasses('MuiBox', ['root']); | ||
|
||
export default boxClasses; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
'use client'; | ||
export { default } from './Box'; | ||
export * from './BoxProps'; | ||
|
||
export { default as boxClasses } from './boxClasses'; | ||
export * from './boxClasses'; |