Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 545 Bytes

File metadata and controls

28 lines (24 loc) · 545 Bytes

react-native-app-helpers/BottomTabBarStyle

Describes the style of a bottom tab bar.

Usage

import type { BottomTabBarStyle } from "react-native-app-helpers";

const example: BottomTabBarStyle = {
  topPadding: 12,
  iconTextSpacing: 4,
  fontSize: 20,
  bottomPadding: 5,
  inactive: {
    background: `yellow`,
    iconFill: `green`,
    color: `blue`,
    fontFamily: `Example Font Family`,
  },
  active: {
    background: `yellow`,
    iconFill: `green`,
    color: `blue`,
    fontFamily: `Example Font Family`,
  },
};