UNPKG

@yuntijs/ui

Version:

☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps

14 lines (13 loc) 552 B
import React, { ComponentType, FC } from 'react'; export { useAutoFocus } from './autoFocus'; export type FormHelperProps = { children: React.ReactNode; autoFocus?: boolean; id?: string; className?: string; style?: React.CSSProperties; }; declare const FormHelper: React.FC<FormHelperProps>; type FormHelperConfig = Omit<FormHelperProps, 'children'>; export declare const withFormHelper: (formHelperConfig?: FormHelperConfig) => <P extends Record<string, never>>(WrappedComponent: ComponentType<P>) => FC<P>; export { FormHelper };