goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
37 lines • 1.1 kB
TypeScript
import { default as React } from 'react';
export interface SelectOption {
value: string;
_id?: string;
}
export interface MultiSelectChipProps {
label?: React.ReactNode;
options?: SelectOption[];
defaultSelected?: string[];
onChange?: (values: string[]) => void;
onFocus?: (event: React.FocusEvent<HTMLDivElement>) => void;
helperText?: string;
styles?: {
disabled?: boolean;
required?: boolean;
theme?: string;
width?: string;
height?: string;
minHeight?: string;
borderWidth?: string;
borderRadius?: string;
padding?: string;
fontSize?: string;
marginBottom?: string;
helperTextType?: 'error' | 'info';
requiredIndicatorText?: string;
backgroundColor?: string;
borderColor?: string;
arrowRight?: string;
arrowTop?: string;
arrowPadding?: string;
arrowBottom?: string;
};
}
declare const MultiSelectChip: React.FC<MultiSelectChipProps>;
export default MultiSelectChip;
//# sourceMappingURL=index.d.ts.map