feat: finalize kinerja divisi feature implementation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
25
src/components/ui/textarea.tsx
Normal file
25
src/components/ui/textarea.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import {
|
||||
Textarea as MantineTextarea,
|
||||
type TextareaProps as MantineTextareaProps,
|
||||
} from "@mantine/core";
|
||||
import React from "react";
|
||||
import { cn } from "./utils";
|
||||
|
||||
interface TextareaProps extends MantineTextareaProps {
|
||||
// Add any specific props you had in your custom Textarea component
|
||||
}
|
||||
|
||||
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
|
||||
({ className, ...props }, ref) => {
|
||||
return (
|
||||
<MantineTextarea
|
||||
ref={ref}
|
||||
className={cn(className)} // Apply custom classNames if any
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
},
|
||||
);
|
||||
Textarea.displayName = "Textarea";
|
||||
|
||||
export { Textarea };
|
||||
Reference in New Issue
Block a user