@try-at-software/input-elements
Version:
A package providing different input elements that are extensible and easily configurable for your custom needs.
8 lines (7 loc) • 461 B
TypeScript
import { IDropdownOption } from '@fluentui/react';
import { IDropdownInputOption } from '../SingleValueInputElements';
export declare class DropdownHelper {
static getNormalizedOptions(defaultOption: IDropdownInputOption, allOptions: IDropdownInputOption[]): IDropdownOption[];
static toNormalizedDropdownOption: (inputOption: IDropdownInputOption) => IDropdownOption;
static mapToDropdownOptions(values: string[]): IDropdownInputOption[];
}