Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
23 lines
455 B
TypeScript
23 lines
455 B
TypeScript
/** @jsxImportSource @emotion/react */
|
|
import { css } from '@emotion/react';
|
|
import Slider from '@mui/material/Slider';
|
|
import Box from '@mui/material/Box';
|
|
|
|
export default function EmotionCSS() {
|
|
return (
|
|
<Box sx={{ width: 300 }}>
|
|
<Slider defaultValue={30} />
|
|
<Slider
|
|
defaultValue={30}
|
|
css={css`
|
|
color: #20b2aa;
|
|
|
|
:hover {
|
|
color: #2e8b57;
|
|
}
|
|
`}
|
|
/>
|
|
</Box>
|
|
);
|
|
}
|