Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add checkbox element before avatar - Conversation List #51

Closed
waqasali26041995 opened this issue Jul 9, 2021 · 1 comment
Closed
Assignees
Labels
question Further information is requested

Comments

@waqasali26041995
Copy link

Hey I want to use checkbox before avatar in conversation list page for delete multiple conversation but tag not accept checkbox element. I'm stuck in this issue last 2 days but can't find solution so please give me better solution.

Code:
<Conversation className="multi-select-conversation" active={sid === selected} style={style} key={index} onClick={selectChannel} name={friendlyName} info={lastMessage?.body?.length > 35 ? lastMessage?.body?.substring(0, 35) + '.' : lastMessage.body} unreadCnt={unread_messages_count} lastActivityTime={lastMessage.dateCreated ? moment(lastMessage.dateCreated).fromNow() : ''} > <Avatar src={CUSTOMER_ICON} status="available" /> <Conversation.Operations> <EllipsisButton orientation="vertical" onClick={handleMenuClick} /> </Conversation.Operations> </Conversation>

@supersnager supersnager self-assigned this Jul 12, 2021
@supersnager supersnager added the question Further information is requested label Jul 15, 2021
@supersnager
Copy link
Contributor

@waqasali26041995 Thank you for your question, I think this recipe should help: Changing component type to allow place it in container slot

If you will have any questions about how to use it in your case don't hesitate to ask here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants