mui-simple
Version:
Override mui-v7 components to simplify usage
17 lines • 798 B
TypeScript
import React from 'react';
import type { InputSelectOption, InputSelectOptions } from '../../decs';
export declare const getOptions: ({ options: _options }: {
options: InputSelectOptions;
}) => InputSelectOption[];
export declare const useOptionsConverter: ({ options, convertedOptions, groupBy, }: {
options: InputSelectOption[];
convertedOptions?: Record<string, InputSelectOptions[]>;
groupBy?: string | ((row: any) => string);
}) => Record<string, InputSelectOption[]>;
export declare const useOptions: ({ convertedOptions, checkbox, placeholder, nullable, }: {
convertedOptions: Record<string, InputSelectOptions>;
checkbox?: boolean;
placeholder?: string;
nullable?: string | boolean;
}) => React.ReactElement[];
//# sourceMappingURL=InputSelect.hooks.d.ts.map