Commit d477072
authored
fix: add theme to ChatView component (#2494)
### 🎯 Goal
`ChatView` component wraps whole `Chat` inner component tree but
components rendered outside `Channel` component tree can only access
default theme variables as `theme` property is only applied to the
element `Channel` component renders. To make theming work for
thread-related components too, the `theme` is also applied to the
element `ChatView` renders.1 parent b1718a7 commit d477072
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments