mobile-input
1.0.4 • Public • Published
- feat: add hyphens between numbers
import React from "react"
import MobileInput from "mobile-input"
class App extends React.PureComponent {
state = { value: "" }
render() {
const { value } = this.state
return (
<div>
<label htmlFor="">Mobile: </label>
<MobileInput
value={value}
onChange={(v) => this.setState({ value: v })}
>
<input text=""></input>
</MobileInput>
</div>
)
}
}
- onChange: f()
- value: string
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads