Device manager - selectable device tile wrapper (PSG-637) (#9153)

* add selectabledevicetile wrapper

* set pointer cursor

* line up own device icon with new checkboxes
This commit is contained in:
Kerry 2022-08-09 15:07:25 +02:00 committed by GitHub
parent 5fbeb20df8
commit 5a9c2e530a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 255 additions and 23 deletions

View file

@ -70,9 +70,11 @@ export default class StyledCheckbox extends React.PureComponent<IProps, IState>
<div className="mx_Checkbox_background">
<div className="mx_Checkbox_checkmark" />
</div>
<div>
{ this.props.children }
</div>
{ !!this.props.children &&
<div>
{ this.props.children }
</div>
}
</label>
</span>;
}