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)

13 lines (12 loc) 460 B
import { FieldOptions, WithoutLabel } from 'alinea/core/Field'; import { ScalarField } from 'alinea/core/field/ScalarField'; export interface PathOptions extends FieldOptions<string> { width?: number; from?: string; help?: string; inline?: boolean; optional?: boolean; } export declare class PathField extends ScalarField<string, PathOptions> { } export declare function path(label: string, options?: WithoutLabel<PathOptions>): PathField;