UNPKG

@kform/react

Version:

React integration for KForm.

23 lines (22 loc) 735 B
import { Path } from "@kform/core"; import * as React from "react"; /** * Properties of the current path component. */ export interface CurrentPathProps { /** * Path to set as the new current path for all children of this component. * * This path will be resolved against the current path. * @default Path.CURRENT */ path?: Path | string; children?: React.ReactNode; } /** * Component used to specify a new current path for its children. * * This component must be rendered within a form context. The provided path will * be resolved against the current path in context. */ export declare function CurrentPath({ path, children, }: CurrentPathProps): import("react/jsx-runtime").JSX.Element;