worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
25
node_modules/@mui/system/esm/preprocessStyles.js
generated
vendored
Normal file
25
node_modules/@mui/system/esm/preprocessStyles.js
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { internal_serializeStyles } from '@mui/styled-engine';
|
||||
export default function preprocessStyles(input) {
|
||||
const {
|
||||
variants,
|
||||
...style
|
||||
} = input;
|
||||
const result = {
|
||||
variants,
|
||||
style: internal_serializeStyles(style),
|
||||
isProcessed: true
|
||||
};
|
||||
|
||||
// Not supported on styled-components
|
||||
if (result.style === style) {
|
||||
return result;
|
||||
}
|
||||
if (variants) {
|
||||
variants.forEach(variant => {
|
||||
if (typeof variant.style !== 'function') {
|
||||
variant.style = internal_serializeStyles(variant.style);
|
||||
}
|
||||
});
|
||||
}
|
||||
return result;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue