Skip to content

Commit db27a8c

Browse files
author
Dario Aubry
committed
(docs) update named slots in readme
1 parent 6b7b6b9 commit db27a8c

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

README.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,35 @@ messageActionHandler({ roomId, action, message }) {
528528

529529
## Named Slots
530530

531-
| Slot | Action |
532-
| ------------ | ---------------------------------------------------------- |
533-
| rooms-header | Add a template on top of rooms list (above the search bar) |
531+
| Slot | Action | Data | Overridden slots |
532+
|----------------------------|-------------------------------------------------------------|-------------------------------|------------------------------------------------------------------------------------------------------|
533+
| rooms-header | Add a template on top of rooms list (above the search bar) | - | - |
534+
| room-list-item | Replace the template of the room list items | rooms | - |
535+
| room-header | Replace the template of the room header | room, typingUsers, userStatus | room-options, menu-icon, toggle-icon |
536+
| room-options | Replace the template of the room options | - | menu-icon |
537+
| message | Replace the template of the message box | message | deleted-icon, eye-icon, document-icon, pencil-icon, checkmark-icon, dropdown-icon, emoji-picker-icon |
538+
| messages-empty | Replace the empty message template | - | - |
539+
| rooms-empty | Replace the empty room template | - | - |
540+
| menu-icon | Replace the room menu icon | - | - |
541+
| toggle-icon | Replace the toggle room list icon | - | - |
542+
| scroll-icon | Replace the scroll to newest message icon | - | - |
543+
| reply-close-icon | Replace the reply close icon | - | - |
544+
| image-close-icon | Replace the image close icon | - | - |
545+
| file-icon | Replace the file icon | - | - |
546+
| file-close-icon | Replace the file close icon | - | - |
547+
| edit-close-icon | Replace the edit close icon | - | - |
548+
| emoji-picker-icon | Replace the emoji picker icon | - | - |
549+
| emoji-picker-reaction-icon | Replace the emoji picker reaction icon (in the message box) | - | - |
550+
| paperclip-icon | Replace the paperclip icon | - | - |
551+
| send-icon | Replace the message send icon | - | - |
552+
| eye-icon | Replace the eye icon (image message) | - | - |
553+
| document-icon | Replace the document icon | - | - |
554+
| pencil-icon | Replace the pencil icon | - | - |
555+
| checkmark-icon | Replace the checkmark icon | message | - |
556+
| deleted-icon | Replace the deleted icon | deleted | - |
557+
| dropdown-icon | Replace the dropdown icon | - | - |
558+
| search-icon | Replace the search icon | - | - |
559+
| add-icon | Replace the add room icon | - | - |
534560

535561
## Using with Firestore
536562

0 commit comments

Comments
 (0)