lumarc-grid
Version:
lumArc Grid는 고성능, 유연하고 프레임워크에 구애받지 않는 데이터 그리드 라이브러리
26 lines • 992 B
TypeScript
import { VariantProps } from 'class-variance-authority';
import * as React from 'react';
/**
* Input component variants
*/
declare const inputVariants: (props?: ({
variant?: "default" | "ghost" | "filled" | null | undefined;
inputSize?: "default" | "sm" | "lg" | null | undefined;
state?: "error" | "default" | "success" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
/**
* Input component for data grid filtering and editing
*/
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
/** Error state */
error?: boolean;
/** Success state */
success?: boolean;
/** Left icon */
leftIcon?: React.ReactNode;
/** Right icon */
rightIcon?: React.ReactNode;
}
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
export { Input, inputVariants };
//# sourceMappingURL=input.d.ts.map