@etsoo/materialui
Version:
TypeScript Material-UI Implementation
13 lines (12 loc) • 378 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
import { IntInputField } from "./IntInputField";
/**
* Money input field (controlled)
*/
export const MoneyInputField = React.forwardRef((props, ref) => {
// Destruct
const { step = 0.01, ...rest } = props;
// Layout
return _jsx(IntInputField, { ref: ref, step: step, ...rest });
});