@@ -15,10 +15,8 @@ import {
1515import React from "react" ;
1616import { useForm } from "react-hook-form" ;
1717import {
18- HiOutlineMicrophone ,
19- HiOutlinePlus ,
18+ HiPaperAirplane ,
2019} from "react-icons/hi2" ;
21- import { BsEmojiSmile } from "react-icons/bs" ;
2220
2321export default function ChatForm ( ) {
2422 const router = useRouter ( ) ;
@@ -61,37 +59,19 @@ export default function ChatForm() {
6159 classNames = { {
6260 base : "w-full" ,
6361 inputWrapper :
64- "h-14 rounded-full border border-black/20 bg-default-50 px-2 shadow-none data-[hover=true]:bg-default-100 group-data-[focus=true]:border-black/25 " ,
62+ "h-12 rounded-xl border border-default-200 bg-default-100 px-3 shadow-none data-[hover=true]:bg-default-100 group-data-[focus=true]:border-default-300 " ,
6563 input :
66- "text-base text-default-700 placeholder:text-default-500" ,
64+ "text-sm text-default-700 placeholder:text-default-500" ,
6765 innerWrapper : "gap-2" ,
6866 } }
69- startContent = {
70- < div className = "flex items-center gap-3 text-default-700 pl-1" >
71- < button
72- type = "button"
73- aria-label = "Add"
74- className = "inline-flex items-center justify-center"
75- >
76- < HiOutlinePlus size = { 20 } />
77- </ button >
78- < button
79- type = "button"
80- aria-label = "Emoji"
81- className = "inline-flex items-center justify-center"
82- >
83- < BsEmojiSmile size = { 18 } />
84- </ button >
85- </ div >
86- }
8767 endContent = {
8868 < button
8969 type = "submit"
9070 aria-label = "Send message"
9171 disabled = { ! isValid || isSubmitting }
92- className = "inline-flex items-center justify-center text-default-700 pr-1 disabled:text-default-400"
72+ className = "inline-flex h-7 w-7 items-center justify-center rounded-full bg-default-200 text-default-700 transition hover:bg-default-300 disabled:bg-default-200 disabled:text-default-400"
9373 >
94- < HiOutlineMicrophone size = { 20 } />
74+ < HiPaperAirplane size = { 14 } />
9575 </ button >
9676 }
9777 { ...register ( "text" ) }
0 commit comments