Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 360 Bytes

File metadata and controls

17 lines (13 loc) · 360 Bytes

react-native-app-helpers/BottomTab

Describes the style of a bottom tab bar for segments which are in a particular state.

Usage

import type { BottomTab } from "react-native-app-helpers";
import ExampleIcon from "./assets/example-icon.svg";

const example: BottomTab<number> = {
  tab: 1234,
  icon: ExampleIcon,
  text: `Example Label`,
};