UNPKG

notion-design-system

Version:

A comprehensive Notion-inspired design system built with React, TypeScript, and Tailwind CSS

15 lines (14 loc) 553 B
import React from 'react'; import { BaseComponentProps, InputVariant, InputSize } from '../../types'; export interface InputProps extends BaseComponentProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> { variant?: InputVariant; size?: InputSize; label?: string; error?: string; helperText?: string; leftIcon?: React.ReactNode; rightIcon?: React.ReactNode; fullWidth?: boolean; } declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>; export default Input;