Hi all, I got a type error when using with tsx file.
Type error: Type '{ value: string; onChange: Dispatch<SetStateAction<string>>; cleanOnEnter: true; onEnter: (msg: string) => void; placeholder: string; shouldReturn: true; fontFamily: string; shouldConvertEmojiToImage: boolean; }' is not assignable to type 'IntrinsicAttributes & Props & RefAttributes<any>'.
Property 'shouldConvertEmojiToImage' does not exist on type 'IntrinsicAttributes & Props & RefAttributes<any>'.
I got this error when setting the shouldConvertEmojiToImage attribute:
<InputEmoji
value={text}
onChange={setText}
cleanOnEnter
onEnter={handleOnEnter}
placeholder="Write a message"
shouldReturn
fontFamily="var(--font-montserrat)"
shouldConvertEmojiToImage={false} // <- This line get error
/>
Hi all, I got a type error when using with tsx file.
I got this error when setting the
shouldConvertEmojiToImage
attribute:I'm using
react-input-emoji 5.6.6