import React from "react"; import { NumberInputHandle } from "@mwater/react-library/lib/bootstrap"; export interface NumberAnswerComponentProps { decimal: boolean; value?: number; onChange?: any; /** Will be merged with style of input box */ style?: any; /** True to render with input-sm */ small?: boolean; onNextOrComments?: (ev: any) => void; } /** Number input component that handles parsing and maintains state when number is invalid */ export default class NumberAnswerComponent extends React.Component { input: NumberInputHandle | null; focus(): void | undefined; validate(): "Invalid number" | null; render(): import("react/jsx-runtime").JSX.Element; }