@types/react-final-form-listeners
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/react-final-form-listeners

Summary

This package contains type definitions for react-final-form-listeners (https://github.com/final-form/react-final-form-listeners).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-final-form-listeners.

index.d.ts

import * as React from "react";

export interface ExternallyChangedProps {
    name: string;
    children: (externallyChanged: boolean) => React.ReactNode;
}

export interface OnBlurProps {
    name: string;
    children: () => void;
}

export interface OnChangeProps {
    name: string;
    children: (value: any, previous: any) => void;
}

export interface OnFocusProps {
    name: string;
    children: () => void;
}

export const OnBlur: React.FC<OnBlurProps>;

export const OnChange: React.FC<OnChangeProps>;

export const OnFocus: React.FC<OnFocusProps>;

export const ExternallyChanged: React.FC<ExternallyChangedProps>;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Yuri Drabik.

Dependents (5)

Package Sidebar

Install

npm i @types/react-final-form-listeners

Weekly Downloads

25,752

Version

1.0.3

License

MIT

Unpacked Size

4.03 kB

Total Files

5

Last publish

Collaborators

  • types