Conversation details screen for 1:1 chats

This commit is contained in:
Josh Perez 2021-10-20 19:46:41 -04:00 committed by GitHub
parent 3a507349cd
commit 2e438aa876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 1357 additions and 1102 deletions

View file

@ -10,6 +10,7 @@ export type PropsType = {
checked?: boolean;
description?: string;
disabled?: boolean;
isRadio?: boolean;
label: string;
moduleClassName?: string;
name: string;
@ -20,6 +21,7 @@ export const Checkbox = ({
checked,
description,
disabled,
isRadio,
label,
moduleClassName,
name,
@ -37,7 +39,7 @@ export const Checkbox = ({
id={id}
name={name}
onChange={ev => onChange(ev.target.checked)}
type="checkbox"
type={isRadio ? 'radio' : 'checkbox'}
/>
</div>
<div>