ChatPageSidebar: add new chat icon (non-functional)
This commit is contained in:
parent
cbd7089166
commit
3c9ffd30b1
1 changed files with 9 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import React, { useState } from 'react';
|
||||
import { defineMessages, useIntl } from 'react-intl';
|
||||
|
||||
import { CardTitle, Stack } from 'soapbox/components/ui';
|
||||
import { CardTitle, HStack, IconButton, Stack } from 'soapbox/components/ui';
|
||||
import { useChatContext } from 'soapbox/contexts/chat-context';
|
||||
import { useDebounce, useFeatures } from 'soapbox/hooks';
|
||||
import { IChat } from 'soapbox/queries/chats';
|
||||
|
@ -27,7 +27,14 @@ const ChatPageSidebar = () => {
|
|||
return (
|
||||
<Stack space={4} className='h-full'>
|
||||
<Stack space={4} className='px-4 pt-4'>
|
||||
<CardTitle title={intl.formatMessage(messages.title)} />
|
||||
<HStack alignItems='center' justifyContent='between'>
|
||||
<CardTitle title={intl.formatMessage(messages.title)} />
|
||||
|
||||
<IconButton
|
||||
src={require('@tabler/icons/edit.svg')}
|
||||
iconClassName='w-5 h-5 text-gray-600'
|
||||
/>
|
||||
</HStack>
|
||||
|
||||
{features.chatsSearch && (
|
||||
<ChatSearchInput
|
||||
|
|
Loading…
Reference in a new issue