# @types/react-swipeable-views-utils

> TypeScript definitions for react-swipeable-views-utils

Latest version **0.13.7** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-swipeable-views-utils
pnpm add @types/react-swipeable-views-utils
yarn add @types/react-swipeable-views-utils
bun add @types/react-swipeable-views-utils
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.13.7 |
| Published | 2023-11-07 |
| First published | 2019-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-swipeable-views-utils
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-swipeable-views-utils
- npm.io page: https://npm.io/package/@types/react-swipeable-views-utils

## Dependencies (3)

- [@types/react](https://npm.io/package/@types/react.md) *
- [@material-ui/types](https://npm.io/package/@material-ui/types.md) ^4.0.0
- [@types/react-swipeable-views](https://npm.io/package/@types/react-swipeable-views.md) *

## Recent versions

- 0.13.7 (latest) — 2023-11-07
- 0.13.4 (ts4.1) — 2022-09-23
- 0.13.3 (ts3.6) — 2021-07-07
- 0.13.2 (ts3.0) — 2020-03-03
- 0.13.6 — 2023-10-18
- 0.13.5 — 2023-09-27
- 0.13.1 — 2020-02-20
- 0.13.0 — 2019-12-09

## README

# Installation
> `npm install --save @types/react-swipeable-views-utils`

# Summary
This package contains type definitions for react-swipeable-views-utils (https://github.com/oliviertassinari/react-swipeable-views#react-swipeable-views).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-swipeable-views-utils.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-swipeable-views-utils/index.d.ts)
````ts
import { PropInjector } from "@material-ui/types";
import * as React from "react";
import { OnChangeIndexCallback, OnSwitchingCallback, OnTransitionEndCallback } from "react-swipeable-views";

export interface WithIndex {
    index?: number;
    onChangeIndex?: OnChangeIndexCallback;
}

export interface WithAutoPlay extends WithIndex {
    onSwitching?: OnSwitchingCallback | undefined;
}
export interface WithAutoPlayProps extends WithIndex {
    autoplay?: boolean | undefined;
    direction?: "incremental" | "decremental" | undefined;
    interval?: number | undefined;
    slideCount?: number | undefined;
}

export interface WithVirtualize extends WithIndex {
    slideRenderer: (render: SlideRendererCallback) => React.ReactNode;
}
export interface WithVirtualizeProps extends WithIndex {
    onTransitionEnd?: OnTransitionEndCallback | undefined;
    overscanSlideAfter?: number | undefined;
    overscanSlideBefore?: number | undefined;
    slideCount?: number | undefined;
    children?: React.ReactNode | undefined;
    slideRenderer: SlideRendererCallback;
}
export interface SlideRenderProps {
    index: number;
    key: number;
}

export type WithBindKeyboard = WithIndex;

export interface WithBindKeyboardProps extends WithIndex {
    axis?: "x" | "x-reverse" | "y" | "y-reverse" | undefined;
    slidecount?: number | undefined;
}

export const autoPlay: PropInjector<WithAutoPlay, WithAutoPlayProps>;
export type SlideRendererCallback = (render: SlideRenderProps) => React.ReactNode;
export const virtualize: PropInjector<WithVirtualize, WithVirtualizeProps>;
export const bindKeyboard: PropInjector<WithBindKeyboard, WithBindKeyboardProps>;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@material-ui/types](https://npmjs.com/package/@material-ui/types), [@types/react](https://npmjs.com/package/@types/react), [@types/react-swipeable-views](https://npmjs.com/package/@types/react-swipeable-views)

# Credits
These definitions were written by [Sebastian Silbermann](https://github.com/eps1lon), and [Robert Nisipeanu](https://github.com/robertnisipeanu).

---
_Source: https://npm.io/package/@types/react-swipeable-views-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
