Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 583 Bytes

File metadata and controls

26 lines (22 loc) · 583 Bytes

react-native-app-helpers/UnderlinedTopTabBarStyle

The style applied to an underlined top tab bar.

Usage

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

const example: UnderlinedTopTabBarStyle = {
  fontSize: 20,
  verticalPadding: 10,
  inactive: {
    color: `yellow`,
    fontFamily: `Example Inactive Font Family`,
    backgroundColor: `red`,
    underline: null,
  },
  active: {
    color: `green`,
    fontFamily: `Example Active Font Family`,
    backgroundColor: `orange`,
    underline: { width: 6, color: `purple` },
  },
};