react-form-krafter
Version:
A flexible form engine for React powered by Standard Schema
7 lines (6 loc) • 455 B
TypeScript
import { ListApi, ListContext } from '../types';
import { StandardSchemaV1 } from '@standard-schema/spec';
declare const ListContext: import('react').Context<ListContext<unknown, StandardSchemaV1<unknown, unknown>> | null>;
export declare const useListApi: <T>() => ListApi<T>;
declare const List: <T, G extends StandardSchemaV1>({ children, ...userProps }: ListContext<T, G>["userProps"]) => import("react/jsx-runtime").JSX.Element;
export default List;