# @types/react-native-navbar

> TypeScript definitions for react-native-navbar

Latest version **2.1.7** (published 2023-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-native-navbar
pnpm add @types/react-native-navbar
yarn add @types/react-native-navbar
bun add @types/react-native-navbar
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.7 |
| Published | 2023-12-21 |
| First published | 2018-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

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

## Dependencies (2)

- [@types/react](https://npm.io/package/@types/react.md) *
- [react-native](https://npm.io/package/react-native.md) *

## Recent versions

- 2.1.7 (latest) — 2023-12-21
- 2.1.6 (ts4.5) — 2023-11-07
- 2.1.3 (ts3.6) — 2021-07-08
- 2.1.2 (ts2.8) — 2019-02-13
- 2.1.0 (ts2.6) — 2018-07-24
- 2.1.5 — 2023-10-18
- 2.1.4 — 2023-09-27
- 2.1.1 — 2018-08-06

## README

# Installation
> `npm install --save @types/react-native-navbar`

# Summary
This package contains type definitions for react-native-navbar (https://github.com/react-native-community/react-native-navbar).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-navbar.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-navbar/index.d.ts)
````ts
import * as React from "react";
import { TextProps, ViewStyle } from "react-native";

export interface NavigationBarButton {
    title: string;
    style?: ViewStyle | undefined;
    handler?: (() => void) | undefined;
    disable?: boolean | undefined;
}

export interface NavigationBarTitle {
    title: string;
    tintColor?: string | undefined;
    ellipsizeMode?: TextProps["ellipsizeMode"] | undefined;
    numberOfLines?: number | undefined;
}

export interface StatusBar {
    style?: "light-content" | "default" | undefined;
    hidden?: boolean | undefined;
    tintColor?: string | undefined;
    hideAnimation?: "fade" | "slide" | "none" | undefined;
    showAnimation?: "fade" | "slide" | "none" | undefined;
}

export interface NavigationBarProps {
    style?: ViewStyle | undefined;
    tintColor?: string | undefined;
    statusBar?: StatusBar | undefined;
    leftButton?: NavigationBarButton | React.ReactElement | null | undefined;
    rightButton?: NavigationBarButton | React.ReactElement | null | undefined;
    title?: NavigationBarTitle | React.ReactElement | null | undefined;
}

export default class NavigationBar extends React.Component<NavigationBarProps> {}

````

### Additional Details
 * Last updated: Thu, 21 Dec 2023 19:06:51 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [react-native](https://npmjs.com/package/react-native)

# Credits
These definitions were written by [Ryo Kikuchi](https://github.com/ryokik).

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