UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

9 lines (8 loc) 455 B
import { FieldOptions, WithoutLabel } from 'alinea/core/Field'; import { Hint } from 'alinea/core/Hint'; 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, hint: Hint, options?: WithoutLabel<FieldOptions<T>>): HiddenField<T>;