Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 500 Bytes

File metadata and controls

26 lines (21 loc) · 500 Bytes

react-native-app-helpers/SplitButtonStateStyle

Describes the style of a type of a split button in a particular state.

Usage

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

const withoutBorder: SplitButtonStateStyle = {
  backgroundColor: `yellow`,
  color: `blue`,
  radius: 10,
  border: null,
};

const withBorder: SplitButtonStateStyle = {
  backgroundColor: `yellow`,
  color: `blue`,
  radius: 10,
  border: {
    width: 5,
    color: `red`,
  },
};