@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
13 lines (12 loc) • 629 B
TypeScript
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>): import("react/jsx-runtime").JSX.Element;
export {};