MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / closedMixin

Function closedMixin

javascript/grid-ui/src/components/NavBar/NavBar.tsx:50–60  ·  view source on GitHub ↗
(theme: Theme)

Source from the content-addressed store, hash-verified

48})
49
50const closedMixin = (theme: Theme): CSSObject => ({
51 transition: theme.transitions.create('width', {
52 easing: theme.transitions.easing.sharp,
53 duration: theme.transitions.duration.leavingScreen
54 }),
55 overflowX: 'hidden',
56 width: `calc(${theme.spacing(7)} + 1px)`,
57 [theme.breakpoints.up('sm')]: {
58 width: `calc(${theme.spacing(8)} + 1px)`
59 }
60})
61
62const Drawer = styled(MuiDrawer,
63 { shouldForwardProp: (prop) => prop !== 'open' })(

Callers 1

NavBar.tsxFile · 0.85

Calls 1

createMethod · 0.65

Tested by

no test coverage detected