# deprecated-react-native-prop-types

> Deprecated prop-types from React Native.

Latest version **5.0.0** (published 2023-10-12) · MIT license · 1.3M weekly downloads

## Install

```sh
npm install deprecated-react-native-prop-types
pnpm add deprecated-react-native-prop-types
yarn add deprecated-react-native-prop-types
bun add deprecated-react-native-prop-types
```

## Health

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

Positive: high downloads; no vulnerabilities.

Warnings: no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2023-10-12 |
| First published | 2021-10-13 |
| Weekly downloads | 1.3M |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=18 |
| Dependencies | 3 |
| Unpacked size | 45.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 62 |
| Maintainers | lunaleaps, eliwhite, yungsters, fb, rh389, cortinico |

## Links

- npm: https://www.npmjs.com/package/deprecated-react-native-prop-types
- Repository: https://github.com/facebook/react-native-deprecated-modules
- Homepage: https://github.com/facebook/react-native-deprecated-modules#readme
- Issues: https://github.com/facebook/react-native-deprecated-modules/issues
- npm.io page: https://npm.io/package/deprecated-react-native-prop-types

## Dependencies (3)

- [invariant](https://npm.io/package/invariant.md) ^2.2.4
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [@react-native/normalize-colors](https://npm.io/package/@react-native/normalize-colors.md) ^0.73.0

## Recent versions

- 5.0.0 (latest) — 2023-10-12
- 3.0.2 (hotfix) — 2023-10-12
- 4.2.3 — 2023-10-12
- 4.2.2 — 2023-10-12
- 4.2.1 — 2023-07-29
- 4.2.0 — 2023-07-19
- 4.1.0 — 2023-04-19
- 4.0.0 — 2022-12-16
- 3.0.1 — 2022-12-03
- 3.0.0 — 2022-12-03
- 2.3.0 — 2021-11-10
- 2.2.0 — 2021-11-09
- 2.1.0 — 2021-10-15
- 2.0.0 — 2021-10-14
- 1.1.0 — 2021-10-13
- … 2 more at https://npm.io/package/deprecated-react-native-prop-types/versions

## README

# deprecated-react-native-prop-types

This package contains deprecated `prop-types` from [React Native](https://github.com/facebook/react-native).

## Image.propTypes

### Before

```js
import {Image} from 'react-native';

doSomething(Image.propTypes);
```

### After

```js
import {ImagePropTypes} from 'deprecated-react-native-prop-types';

doSomething(ImagePropTypes);
```

## Text.propTypes

### Before

```js
import {Text} from 'react-native';

doSomething(Text.propTypes);
```

### After

```js
import {TextPropTypes} from 'deprecated-react-native-prop-types';

doSomething(TextPropTypes);
```

## TextInput.propTypes

### Before

```js
import {TextInput} from 'react-native';

doSomething(TextInput.propTypes);
```

### After

```js
import {TextInputPropTypes} from 'deprecated-react-native-prop-types';

doSomething(TextInputPropTypes);
```

## ColorPropType

### Before

```js
import {ColorPropType} from 'react-native';

doSomething(ColorPropType);
```

### After

```js
import {ColorPropType} from 'deprecated-react-native-prop-types';

doSomething(ColorPropType);
```

## EdgeInsetsPropType

### Before

```js
import {EdgeInsetsPropType} from 'react-native';

doSomething(EdgeInsetsPropType);
```

### After

```js
import {EdgeInsetsPropType} from 'deprecated-react-native-prop-types';

doSomething(EdgeInsetsPropType);
```

## PointPropType

### Before

```js
import {PointPropType} from 'react-native';

doSomething(PointPropType);
```

### After

```js
import {PointPropType} from 'deprecated-react-native-prop-types';

doSomething(PointPropType);
```

## ViewPropTypes

### Before

```js
import {ViewPropTypes} from 'react-native';

doSomething(ViewPropTypes);
```

### After

```js
import {ViewPropTypes} from 'deprecated-react-native-prop-types';

doSomething(ViewPropTypes);
```

---
_Source: https://npm.io/package/deprecated-react-native-prop-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
