-
Hi everyone, I have a question about Mention plugin and the MentionCombobox. My current code <Plate
id="mention"
initialValue={initialValue}
editableProps={editableProps}
plugins={plugins}
onChange={(newValue) => setValue(newValue)}
>
<MentionCombobox onRenderItem={({ item }) => <ChannelItem item={item} />} items={channels} pluginKey="#" />
<MentionCombobox onRenderItem={({ item }) => <RoleItem item={item} />} items={roles} pluginKey="@" />
{/* <Channels channels={channels} pluginKey="#" /> */}
</Plate> I want use my components instead of MentionComboBox but i don't find any example with all props etc. |
Beta Was this translation helpful? Give feedback.
Answered by
zbeyens
Mar 23, 2022
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
zbeyens
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
onRenderItem
is the correct prop to use