@harinis/hui-ui-components
Version:
Custom React UI components with InputStepper and Notification - Built with TypeScript
21 lines (20 loc) • 500 B
TypeScript
export interface InputStepperProps {
value: number;
min?: number;
max?: number;
step?: number;
disabled?: boolean;
size?: 'small' | 'medium' | 'large';
onChange: (value: number) => void;
className?: string;
}
export interface NotificationProps {
type: 'success' | 'error' | 'warning' | 'info';
message: string;
description?: string;
duration?: number;
showIcon?: boolean;
closable?: boolean;
onClose?: () => void;
className?: string;
}