Uniswap Pools range convertor (link👇)
Calculate and display pool ranges in USD
// Jan 2023 | |
/** | |
* Provides better intellisense for JSX Components at call-site by allowing them to accept additional generics. | |
* | |
* In some cases it also switches `onChange` handler from `(value: string) => void` to `(event: HTMLInputEvent<..>) => void` | |
* to be used with `useFormState()` hook's e.g. `onInputChange` which accepts `EventStub` (`(ev: { target: { name, value }}) => void`). | |
* | |
* @example | |
* interface FormState {a, b} | |
* |
Calculate and display pool ranges in USD