UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

13 lines 624 B
import { Widget, EnumOptionsType } from '@rjsf/utils'; /** * This function finds the enum option that has the corresponding value and returns it. * * If value is nullish, this fn returns null. If there is no corresponding option, then a new object is returned * where the label and value are set to the provided value. */ export declare function findValueOption(value: string | null | undefined, options: EnumOptionsType[]): EnumOptionsType | string | null; /** * Select widget compatible with react-jsonschema-form enumerations */ export declare const SelectWidget: Widget; //# sourceMappingURL=SelectWidget.d.ts.map