react-web-native-sketch
Version:
[TODO: We need an overview of how this can be used via npm vs as a local package]
8 lines (7 loc) • 401 B
TypeScript
import { Option } from "../../redux/FormComponents/FormComponents.types";
export declare const NOT_AVAILABLE_FIELD_VALUE = "select component field unavailable";
export declare function getSelectData(options: Array<Option>, value: any, multiple?: boolean, nullName?: string, nullable?: boolean): {
selectedIndex: number;
selectedIndexMultiple: Array<number>;
optionsList: Array<Option>;
};