UNPKG

alinea

Version:
8 lines (7 loc) 407 B
import type { FieldOptions, WithoutLabel } from 'alinea/core/Field'; import { ScalarField } from 'alinea/core/field/ScalarField'; /** Internal representation of a text field */ export declare class HiddenField<T> extends ScalarField<T, FieldOptions<T>> { } /** Create a hidden field configuration */ export declare function hidden<T>(label: string, options?: WithoutLabel<FieldOptions<T>>): HiddenField<T>;