mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-10-30 23:34:36 +00:00
Rename checkbox prop to clarify meaning
This commit is contained in:
1 parent
9c35dca4fe
commit
b4d1da9d41
2 files changed
+3
-3
No files matched your search
@@ -4,7 +4,7 @@ import Label from './Label';
|
||||
import Tooltip from './Tooltip';
|
||||
|
||||
const CheckboxContainer = styled.div`
|
||||
margin-left: ${props => props.forTable
|
||||
margin-left: ${props => props.noLeftMargin
|
||||
? '0'
|
||||
: props.invalid
|
||||
? '0.5rem'
|
||||
@@ -104,7 +104,7 @@ const Checkbox = (props, ref) => {
|
||||
return (
|
||||
<CheckboxContainer
|
||||
invalid={props.invalid}
|
||||
forTable={props.forTable}
|
||||
noLeftMargin={props.noLeftMargin}
|
||||
>
|
||||
<StyledCheckbox
|
||||
id={props.id}
|
||||
|
||||
Reference in new issue
Block a user