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
27 lines
802 B
JavaScript
27 lines
802 B
JavaScript
import * as React from 'react';
|
|
import Checkbox from '@mui/joy/Checkbox';
|
|
import FormControl from '@mui/joy/FormControl';
|
|
import FormHelperText from '@mui/joy/FormHelperText';
|
|
import Link from '@mui/joy/Link';
|
|
import Typography from '@mui/joy/Typography';
|
|
|
|
export default function ExampleSignUpCheckbox() {
|
|
return (
|
|
<FormControl size="sm" sx={{ width: 400 }}>
|
|
<Checkbox
|
|
label={
|
|
<React.Fragment>
|
|
I have read and agree to the{' '}
|
|
<Typography sx={{ fontWeight: 'md' }}>terms and conditions</Typography>.
|
|
</React.Fragment>
|
|
}
|
|
/>
|
|
<FormHelperText>
|
|
<Typography level="body-sm">
|
|
Read our <Link href="#link">terms and conditions</Link>.
|
|
</Typography>
|
|
</FormHelperText>
|
|
</FormControl>
|
|
);
|
|
}
|