@prosperitainova/dumbo-react-native
Version:
Dumbo for React Native Library
19 lines (18 loc) • 567 B
JavaScript
;
import React from 'react';
import { BaseTextInput } from '../BaseTextInputs';
import { jsx as _jsx } from "react/jsx-runtime";
/**
* NumberInput component for rendering an input for numbers with increment/decrement
*
* {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/NumberInput.tsx | Example code}
*/
export class NumberInput extends React.Component {
render() {
return /*#__PURE__*/_jsx(BaseTextInput, {
type: "number",
...this.props
});
}
}
//# sourceMappingURL=index.js.map