alinea
Version:
Headless git-based CMS
13 lines (12 loc) • 484 B
TypeScript
import type { FieldOptions, WithoutLabel } from 'alinea/core/Field';
import { ScalarField } from 'alinea/core/field/ScalarField';
import type { ReactNode } from 'react';
export interface PathOptions extends FieldOptions<string> {
width?: number;
from?: string;
help?: ReactNode;
inline?: boolean;
}
export declare class PathField extends ScalarField<string, PathOptions> {
}
export declare function path(label: string, options?: WithoutLabel<PathOptions>): PathField;