UNPKG

xph-form

Version:

This is a configurable form component that supports React

9 lines (8 loc) 428 B
import { IFormProps, IFormActionType } from "./types"; import { ForwardedRef } from "react"; import { TXphExtendComponentPropsMap } from "./common"; declare const XphForm: (props: IFormProps, ref: ForwardedRef<IFormActionType>) => JSX.Element; declare const ForwardedXphForm: <T extends TXphExtendComponentPropsMap = {}>(props: IFormProps<T> & { ref?: any; }) => ReturnType<typeof XphForm>; export default ForwardedXphForm;