@frontend-kasplo/kasplo-ui-components
Version:
UI Components Library
37 lines (32 loc) • 868 B
TypeScript
import React from 'react';
interface ButtonProps {
label: string;
variant?: 'primary' | 'secondary';
size?: 'small' | 'medium' | 'large';
disabled?: boolean;
onClick?: () => void;
className?: string;
}
declare const Button: React.FC<ButtonProps>;
interface CounterProps {
initialValue?: number;
min?: number;
max?: number;
step?: number;
label?: string;
className?: string;
}
declare const Counter: React.FC<CounterProps>;
interface ChipProps {
label: string;
backgroundColor?: string;
textColor?: string;
borderColor?: string;
className?: string;
variant?: 'rounded' | 'pill';
size?: 'small' | 'medium' | 'large';
fontSize?: 'small' | 'medium' | 'large';
width?: 'small' | 'medium' | 'large' | 'auto';
}
declare const Chip: React.FC<ChipProps>;
export { Button, Chip, Counter };