@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
6 lines (5 loc) • 368 B
TypeScript
import type React from 'react';
import type { BaseInputProps } from '../types';
export type InputComponent = React.ForwardRefExoticComponent<BaseInputProps & React.RefAttributes<any>>;
export declare const registerInput: (type: string, component: InputComponent) => InputComponent;
export declare const getInputComponent: (type: string) => InputComponent | undefined;