@sentre/antd-numeric-input
TypeScript icon, indicating that this package has built-in type declarations

1.0.25 • Public • Published

Antd Numeric Input

This package wraps InputNumber in Ant Design.

Installation

npm i antd @sentre/antd-numeric-input

Usage

import { useState } from 'react'
import NumericInput from '@sentre/antd-numeric-input'

const YourReactComponent = () => {
  const [value, setValue] = useState('')
  const max = '1000000000000'

  return <NumericInput value={value} onChange={setValue} ceiling={max} />
}

You can find details for props in https://ant.design/components/input-number/#API.

Package Sidebar

Install

npm i @sentre/antd-numeric-input

Weekly Downloads

1

Version

1.0.25

License

MIT

Unpacked Size

9.35 kB

Total Files

8

Last publish

Collaborators

  • tphanson