~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/pds.js

An atproto PDS in JavaScript, for Cloudflare Workers and Node

0
0
main
13 lines · 387 B Raw History
import { fieldClassName } from '#/components/atoms/input.jsx';
import { cn } from '#/lib/utils.js';

/** A multi-line text field, drawn the way the single-line one is. */
export function Textarea({ className, ...props }) {
  return (
    <textarea
      data-slot="textarea"
      className={cn(fieldClassName, 'min-h-16 py-2 leading-relaxed', className)}
      {...props}
    />
  );
}