carpooluikit
Version:
carpool finance uikit
11 lines (10 loc) • 428 B
TypeScript
import { InputHTMLAttributes, ReactNode, ReactText } from "react";
import { BoxProps } from "../Box";
export interface BalanceInputProps extends BoxProps {
value: ReactText;
onChange?: InputHTMLAttributes<HTMLInputElement>["onChange"];
currencyValue?: ReactNode;
placeholder?: string;
inputProps?: Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "placeholder" | "onChange">;
isWarning?: boolean;
}