feat: introduce steps in flow editor
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
a232408f22
commit
247b25cfc4
@@ -1,8 +1,16 @@
|
||||
import { styled } from '@mui/material/styles';
|
||||
import { styled, alpha } from '@mui/material/styles';
|
||||
import Card from '@mui/material/Card';
|
||||
|
||||
export const Wrapper = styled(Card)`
|
||||
width: 100%;
|
||||
padding: ${({ theme }) => theme.spacing(1, 2)};
|
||||
`;
|
||||
|
||||
type HeaderProps = {
|
||||
borderBottom?: boolean;
|
||||
}
|
||||
|
||||
export const Header = styled('div', { shouldForwardProp: prop => prop !== 'borderBottom' })<HeaderProps>`
|
||||
border-bottom: 1px solid ${({ theme, borderBottom }) => borderBottom ? alpha(theme.palette.divider, .8) : 'transparent'};
|
||||
padding: ${({ theme }) => theme.spacing(2, 2)};
|
||||
cursor: ${({ borderBottom }) => borderBottom ? 'unset' : 'pointer'};
|
||||
`;
|
Reference in New Issue
Block a user