UNPKG

@focuson/form_components

Version:

Components that can be used by @focuson/forms

19 lines (18 loc) 901 B
import { LensState } from "@focuson/state"; import { CommonStateProps, DropDownOnChangeProps } from "./common"; import { NameAnd } from "@focuson/utils"; import { FocusOnContext } from "@focuson/focuson"; import { HasButtons } from "./makeButtons"; export interface DropDownWithVaryingContent2Props<S, C> extends CommonStateProps<S, string, C>, DropDownOnChangeProps<S, C>, HasButtons { label: string; parentState?: LensState<S, any, C>; selector1: LensState<S, string, C>; selector2: LensState<S, string, C>; enums: NameAnd<NameAnd<NameAnd<string>>>; defaultForSelector1?: NameAnd<NameAnd<string>>; pleaseSelect?: string; size?: number; required?: boolean; readonly?: boolean; } export declare function LabelAndDropDownWithVaryingContent2<S, C extends FocusOnContext<S>>(props: DropDownWithVaryingContent2Props<S, C>): import("react/jsx-runtime").JSX.Element;