import React from "react";
import { Page, Text, Box, Radio } from "zmp-ui";
export default function HomePage(props) {
return (
<Page className="section-container">
<Text.Title size="small">Radio Button</Text.Title>
<Box mt={4}>
<Text bold className="section-page-title">
Medium Size
</Text>
</Box>
<Box mt={6}>
<Radio name="medium-1" value={1} label="Label" />
</Box>
<Box mt={6}>
<Radio name="medium-2" defaultChecked value={2} label="Label" />
</Box>
<Box mt={6}>
<Radio name="medium-3" disabled value={3} label="Label" />
</Box>
<Box mt={6}>
<Radio
name="medium-4"
defaultChecked
disabled
value={4}
label="Label"
/>
</Box>
<Box mt={4}>
<Text bold className="section-page-title">
Small Size
</Text>
</Box>
<Box mt={6}>
<Radio value={1} size="small" name="small-1" label="Label" />
</Box>
<Box mt={6}>
<Radio
size="small"
value={2}
name="small-2"
defaultChecked
label="Label"
/>
</Box>
<Box mt={6}>
<Radio value={3} size="small" name="small-3" disabled label="Label" />
</Box>
<Box mt={6}>
<Radio value={4} size="small" name="small-4" disabled label="Label" />
</Box>
</Page>
);
}