ui
ui copied to clipboard
Duplicated Box on CheckBox component
I am trying to use a Checkbox component, but it is showing a duplicated box on the screen.
Code:
<CardFooter>
<Row className="m-0" style={{justifyContent:'space-between'}}>
<Checkbox
checked={isChecked}
onChange={() => setIsChecked(!isChecked)}
>
Li e concordo
</Checkbox>
<Button
status="Primary"
onClick={onSave}
type="button"
size="Small"
disabled={!isChecked}
style={{marginLeft: "10px"}}
>
Enviar Oportunidade
</Button>
</Row>
</CardFooter>
PALJs version: "@paljs/ui": "^1.1.1"