[Clipclops] Use API data for clipclop list (#3769)
* use real API * remove extra tab icon * messages list web layout + style improvements * use style's text color for input * make new chat button way more obvious --------- Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
parent
bcd3678067
commit
7b694fd860
5 changed files with 204 additions and 124 deletions
|
@ -23,8 +23,13 @@ import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '../icons/Envelope'
|
|||
import {ListMaybePlaceholder} from '../Lists'
|
||||
import {Text} from '../Typography'
|
||||
|
||||
export function NewChat({onNewChat}: {onNewChat: (chatId: string) => void}) {
|
||||
const control = Dialog.useDialogControl()
|
||||
export function NewChat({
|
||||
control,
|
||||
onNewChat,
|
||||
}: {
|
||||
control: Dialog.DialogControlProps
|
||||
onNewChat: (chatId: string) => void
|
||||
}) {
|
||||
const t = useTheme()
|
||||
const {_} = useLingui()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue