feat: implement new ui

This commit is contained in:
shadcn 2023-06-07 16:17:59 +04:00
parent 4d5af8c62a
commit 6293470332
28 changed files with 1417 additions and 584 deletions

11
hooks/use-chat-store.ts Normal file
View file

@ -0,0 +1,11 @@
import { create } from 'zustand'
interface UseChatStore {
defaultMessage: string
setDefaultMessage: (message: string) => void
}
export const useChatStore = create<UseChatStore>()(set => ({
defaultMessage: '',
setDefaultMessage: message => set({ defaultMessage: message })
}))