import React from "react"; import * as R from "ramda"; import { compose, withHandlers } from "recompose"; const OnlyLabelName = ({ labelName }: { labelName?: string }) => ( ); const RequiredLabelName = ({ labelName, requiredFieldText }: { labelName?: string; requiredFieldText?: string; }) => ( ); export type InputProps = { value: number | string; update: any; inputClassName?: string; id?: string; labelName?: string; disabled?: boolean; readOnly?: boolean; autoComplete?: string; requiredFieldText?: string; step?: string; placeholder?: string; max?: number; min?: number; }; export type OutputProps = InputProps & { change: any; }; const NumericInput = ({ value, change, inputClassName = "", id = "arkNumberInput", labelName = "", readOnly = false, disabled = false, autoComplete = "on", step = "1", min, max, requiredFieldText = "", placeholder = "" }: OutputProps) => (