alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
13 lines (12 loc) • 460 B
TypeScript
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;