UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

14 lines (13 loc) 634 B
import React from "react"; import { EnumType, FieldProps } from "../../types"; type SelectProps<T extends EnumType> = FieldProps<T>; /** * If `enumValues` are set in the string config, this field renders a select * where each option is a colored chip. * * This is one of the internal components that get mapped natively inside forms * and tables to the specified properties. * @group Form fields */ export declare function SelectFieldBinding<T extends EnumType>({ propertyKey, value, setValue, error, showError, disabled, autoFocus, touched, property, includeDescription, size }: SelectProps<T>): React.JSX.Element; export {};