https://github.com/codewell/target-value
I just want target.value not the whole event...
https://github.com/codewell/target-value
Last synced: 11 months ago
JSON representation
I just want target.value not the whole event...
- Host: GitHub
- URL: https://github.com/codewell/target-value
- Owner: codewell
- Created: 2020-12-14T10:56:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-14T11:49:02.000Z (over 5 years ago)
- Last Synced: 2025-02-22T07:31:49.418Z (over 1 year ago)
- Language: JavaScript
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @codewell/target-value
## Installation
```
npm install @codewell/target-value
```
## Basic Usage
```JavaScript
import targetValue from '@codewell/target-value';
const eventHandler = (inputValue) => {
// Do something with the input value
// from the input element
}
const sayHello = (inputValue, hello, there) => {
console.log(hello, there, inputValue)
}
const SomeComponent = () => (
<>
>
);
```