UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

9 lines (8 loc) 401 B
import type { ReactElement } from "react"; import type { ChoiceOptions } from "../../schema/ChoiceSchema.js"; import { type ValueInputProps } from "./Input.js"; export interface SelectProps<T extends string> extends ValueInputProps<T> { /** The options for the select. */ options: ChoiceOptions<T>; } export declare function SelectInput<T extends string>(props: SelectProps<T>): ReactElement;