@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
9 lines (7 loc) • 518 B
TypeScript
import { InjectedIntl } from 'react-intl';
import { FormSelectChoice } from '../../types/types';
type compareLabelReturn = 1 | -1;
export declare const compareLabel: (a: FormSelectChoice<any>, b: FormSelectChoice<any>) => compareLabelReturn;
export declare const SortByLabel: (choices: FormSelectChoice<any, string>[]) => FormSelectChoice<any, string>[];
export declare const getFormFieldSelectOptions: (namespace: string, optionValues: string[], intl: InjectedIntl) => FormSelectChoice<string, string>[];
export {};