theme-ui#Checkbox JavaScript Examples
The following examples show how to use
theme-ui#Checkbox.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TosCheck.js From developer-portal with Apache License 2.0 | 6 votes |
TosCheck = ({ onChange, ...props }) => {
return (
<Label sx={{ display: 'flex', alignItems: 'center' }}>
<Checkbox onChange={onChange} />
<Text variant="plainText" sx={{ ...props.sx, fontSize: 4 }} {...props}>
I agree to the <ThemeLink>Terms of Service</ThemeLink> and the{' '}
<ThemeLink>Privacy Policy</ThemeLink>
</Text>
</Label>
);
}