@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
21 lines (20 loc) • 617 B
TypeScript
import { ComponentProps } from 'react';
export interface InputProps extends ComponentProps<"input"> {
}
/**
* A styled HTML input component that provides consistent styling across the application.
* Suitable for text inputs, search fields, and other form inputs.
*
* @example
* // Basic text input
* <Input placeholder="Enter your name" />
*
* @example
* // Search input
* <Input type="search" placeholder="Search..." />
*
* @example
* // Disabled input
* <Input disabled value="Cannot edit" />
*/
export declare const Input: ({ className, type, ...props }: InputProps) => import("react").JSX.Element;