@makigas/genshi-svelte
Version:
The Svelte Components required to integrate Genshi into a Svelte application
16 lines (15 loc) • 540 B
TypeScript
import type { HTMLTextareaAttributes } from 'svelte/elements';
import { type FormControlProps } from '../common.js';
import type { Icon } from '@lucide/svelte';
interface Props extends FormControlProps<HTMLTextareaAttributes> {
value?: string;
placeholder?: string;
rows?: number;
mono?: boolean;
readonly?: boolean;
iconBefore?: typeof Icon;
iconAfter?: typeof Icon;
}
declare const Textarea: import("svelte").Component<Props, {}, "value">;
type Textarea = ReturnType<typeof Textarea>;
export default Textarea;