@fluster.io/dev
Version:
16 lines (15 loc) • 548 B
TypeScript
import { ReactNode } from 'react';
import { FormInputProps } from '../types';
import { FieldValues } from 'react-hook-form';
export type MathTextInputProps<T extends FieldValues> = FormInputProps<T> & {
classes?: {
formItem?: string;
};
};
/**
* This plays the traditional role of a text input (not textarea) that uses the mathquill library to allow more natural writing of latex equations.
*/
export declare const MathTextInput: {
<T extends FieldValues>(props: MathTextInputProps<T>): ReactNode;
displayName: string;
};