diff --git a/packages/ui/src/components/Channel/ChannelHeader.tsx b/packages/ui/src/components/Channel/ChannelHeader.tsx index adafb379f7..18b4d21397 100644 --- a/packages/ui/src/components/Channel/ChannelHeader.tsx +++ b/packages/ui/src/components/Channel/ChannelHeader.tsx @@ -15,6 +15,8 @@ export function ChannelHeader({ goBack, goToSearch, showSpinner, + showAddButton = false, + onPressAddButton, showSearchButton = true, showMenuButton = false, }: { @@ -25,6 +27,8 @@ export function ChannelHeader({ goBack?: () => void; goToSearch?: () => void; showSpinner?: boolean; + showAddButton?: boolean; + onPressAddButton?: () => void; showSearchButton?: boolean; showMenuButton?: boolean; post?: db.Post; @@ -56,6 +60,15 @@ export function ChannelHeader({ )} + {showAddButton && ( + + )} {showMenuButton && (