Skip to main content
Glama

mcp-google-sheets

textarea.tsx1.33 kB
import * as React from 'react'; import TextareaAutosize from 'react-textarea-autosize'; import { cn } from '@/lib/utils'; type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>; type Style = Omit< NonNullable<TextareaProps['style']>, 'maxHeight' | 'minHeight' > & { height?: number; }; type TextareaHeightChangeMeta = { rowHeight: number; }; interface TextareaAutosizeProps extends Omit<TextareaProps, 'style'> { maxRows?: number; minRows?: number; onHeightChange?: (height: number, meta: TextareaHeightChangeMeta) => void; cacheMeasurements?: boolean; style?: Style; } export type ResizableTextareaProps = TextareaAutosizeProps & React.RefAttributes<HTMLTextAreaElement>; const Textarea = React.forwardRef< HTMLTextAreaElement, TextareaAutosizeProps & React.RefAttributes<HTMLTextAreaElement> >(({ className, ...props }, ref) => { return ( <TextareaAutosize cacheMeasurements={false} minRows={1} maxRows={5} className={cn( 'flex w-full rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50', className, )} ref={ref} {...props} /> ); }); Textarea.displayName = 'Textarea'; export { Textarea };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server