ponchojs
Version:
Poncho
15 lines (14 loc) • 571 B
TypeScript
/// <reference types="react" />
import { SchemaOf } from 'yup';
import { CommonInputProps } from './Form';
declare type Props = React.PropsWithChildren<{
className?: string | false;
} & CommonInputProps<any>>;
interface CreateTitleProps {
title: string | React.ReactNode;
value?: string;
validate?: SchemaOf<unknown>;
}
export declare const createTitle: ({ value, title, validate }: CreateTitleProps) => string | React.ReactNode;
export declare const BaseInput: import("react").MemoExoticComponent<(props: Props) => JSX.Element>;
export {};