A
Anonymous

Chat Container - Copy this React, Mui Component to your project

Type '"received" | "sent"' is not assignable to type 'OverridableStringUnion<"elevation" | "outlined", PaperPropsVariantOverrides> | undefined'. Type '"received"' is not assignable to type 'OverridableStringUnion<"elevation" | "outlined", PaperPropsVariantOverrides> | undefined'.ts(2322) Paper.d.ts(38, 3): The expected type comes from property 'variant' which is declared here on type 'IntrinsicAttributes & PaperOwnProps & CommonProps & Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ...; }, "style" | ... 6 more ... | "square"> & MUIStyledCommonProps<...>' (property) PaperOwnProps.variant?: OverridableStringUnion<"elevation" | "outlined", PaperPropsVariantOverrides> | undefined The variant to use.

Prompt
Component Preview

About

ChatContainer - A versatile chat UI component with customizable message types, built with React and MUI. Seamlessly integrate chat functi. Copy code today!

Share

Last updated 1 month ago