Skip to content

Commit ed23461

Browse files
committed
docs: Add context information for custom templates
1 parent 56fdade commit ed23461

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

docusaurus/docs/Angular/components/channel-preview.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ The channel list uses the `ChannelPreview` component to display channels, if you
2727
</ng-template>
2828
```
2929

30+
Your custom template can receive the same inputs (with the same name) as the default `ChannelPreview` component.
31+
3032
:::note
3133

3234
If you want to build your own `ChannelPreview` component, you might find the following building blocks useful:

docusaurus/docs/Angular/components/message-input.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ If you want to create your own message input, here is how to use it:
3838

3939
The default chat UI uses the message input in two different places: at the bottom of the channel to send new message, and in the message list to edit a message.
4040

41+
Your custom template can receive the same inputs (with the same name) as the default `MessageInput` component.
42+
4143
:::note
4244
If you want to create your own message input, you can use the following building blocks:
4345

docusaurus/docs/Angular/components/message.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ The message list uses the `Message` component to display messages, if you want t
5353
</ng-template>
5454
```
5555

56+
Your custom template can receive the same inputs (with the same name) as the default `Message` component.
57+
5658
:::note
5759

5860
If you want to build your own `Message` component, you might find the following building blocks useful:

0 commit comments

Comments
 (0)