mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
chore(ui): add eslint-disable for empty object type in ChatInputProps
This commit is contained in:
parent
cbe8ff9941
commit
c0783f0648
@ -2,7 +2,8 @@ import * as React from "react";
|
|||||||
import { Textarea } from "@/components/ui/textarea";
|
import { Textarea } from "@/components/ui/textarea";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
interface ChatInputProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>{}
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||||
|
interface ChatInputProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { }
|
||||||
|
|
||||||
const ChatInput = React.forwardRef<HTMLTextAreaElement, ChatInputProps>(
|
const ChatInput = React.forwardRef<HTMLTextAreaElement, ChatInputProps>(
|
||||||
({ className, ...props }, ref) => (
|
({ className, ...props }, ref) => (
|
||||||
|
Loading…
Reference in New Issue
Block a user