grepsr-ui-elements
Version:
39 lines (38 loc) • 1.09 kB
TypeScript
/// <reference types="react" />
import PropTypes from "prop-types";
interface MultiselectionProps {
id?: string;
label?: string;
placeholder?: string;
isHelperText?: boolean;
helperText?: string;
sx?: any;
arrOptions?: Array;
getOptionLabel?: any;
}
export { MultiselectionProps };
declare const GrepsrMultiselection: {
(props: MultiselectionProps): JSX.Element;
defaultProps: {
id: string;
label: string;
placeholder: string;
isHelperText: boolean;
helperText: string;
sx: {
maxWidth: string;
};
arrOptions: never[];
};
propTypes: {
label: PropTypes.Requireable<string>;
placeholder: PropTypes.Requireable<string>;
isHelperText: PropTypes.Requireable<boolean>;
helperText: PropTypes.Requireable<string>;
sx: PropTypes.Requireable<any>;
id: PropTypes.Requireable<string>;
arrOptions: PropTypes.Requireable<any[]>;
getOptionLabel: PropTypes.Requireable<any>;
};
};
export default GrepsrMultiselection;