diff --git a/src/components/ChatInput/ChatInput.jsx b/src/components/ChatInput/ChatInput.jsx
index 92e088c1..b5554b5b 100644
--- a/src/components/ChatInput/ChatInput.jsx
+++ b/src/components/ChatInput/ChatInput.jsx
@@ -11,6 +11,7 @@ import {
Notes,
Attachment,
Forward,
+ BookOpen,
CannedResponses,
Down,
SendPlane,
@@ -98,6 +99,9 @@ const labels = {
*
* }
* onChangeText={setValue}
+ * onArticles={() => {
+ * alert("On Articles");
+ * }}
* onCannedResponse={() => {
* alert("On Canned Response");
* }}
@@ -149,6 +153,8 @@ export const ChatInput = forwardRef(
onChangeText = () => {},
onForward,
onCannedResponse,
+ onArticles,
+ showArticlesFor = [OPTION_TYPES.REPLY, OPTION_TYPES.NOTE],
toEmails: initialToEmails,
onReply = () => {},
onAddNote = () => {},
@@ -417,6 +423,16 @@ export const ChatInput = forwardRef(
onPress={onCannedResponse}
/>
)}
+ {onArticles && showArticlesFor.includes(selectedOption) && (
+
+ )}