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)

10 lines (9 loc) 443 B
import { Infer, Schema } from 'alinea/core'; import { ListField } from 'alinea/core/field/ListField'; import { list as createList, ListOptions } from './ListField.js'; export * from './ListField.js'; export declare const list: typeof createList; export interface ListInputProps { field: ListField<Infer<Schema>, ListOptions<Schema>>; } export declare function ListInput({ field }: ListInputProps): import("react/jsx-runtime").JSX.Element;