mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-23 11:44:10 -05:00
* fix: client id cache issue * chore: fix originurl --------- Co-authored-by: a-m-dev <a.mirzaei.dev@gmail.com>
24 lines
746 B
JavaScript
24 lines
746 B
JavaScript
import Box from '@mui/material/Box';
|
|
import { styled } from '@mui/system';
|
|
import Stepper from '@mui/material/Stepper';
|
|
import StepLabel from '@mui/material/StepLabel';
|
|
|
|
export const ContentWrapper = styled(Box)(({ theme, marginTop = 0 }) => ({
|
|
position: 'relative',
|
|
padding: theme.spacing(2, 2),
|
|
backgroundColor: 'white',
|
|
borderRadius: theme.spacing(1),
|
|
marginTop: theme.spacing(marginTop),
|
|
}));
|
|
|
|
export const StepperWrapper = styled(Stepper)(({ theme }) => ({
|
|
backgroundColor: 'transparent',
|
|
padding: theme.spacing(3),
|
|
}));
|
|
|
|
export const CustomStepLabel = styled(StepLabel, {
|
|
shouldForwardProp: (prop) => prop !== 'shouldBePointer',
|
|
})(({ shouldBePointer = false }) => ({
|
|
cursor: shouldBePointer ? 'pointer' : 'default',
|
|
}));
|