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
12 lines
335 B
TypeScript
12 lines
335 B
TypeScript
import Rating from '@mui/material/Rating';
|
|
import Stack from '@mui/material/Stack';
|
|
|
|
export default function HalfRating() {
|
|
return (
|
|
<Stack spacing={1}>
|
|
<Rating name="half-rating" defaultValue={2.5} precision={0.5} />
|
|
<Rating name="half-rating-read" defaultValue={2.5} precision={0.5} readOnly />
|
|
</Stack>
|
|
);
|
|
}
|