Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 473 Bytes

File metadata and controls

19 lines (15 loc) · 473 Bytes

react-native-app-helpers/ProportionalRowProps

Props to be given to proportional row components.

Usage

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

const example: ProportionalRowProps<"exampleKeyA" | "exampleKeyB" | "exampleKeyC"> = {
  height: "fillsContainer",
  verticalAlignment: "stretched",
  children: {
    exampleKeyA: "Example Value A",
    exampleKeyB: "Example Value B",
    exampleKeyC: "Example Value C",
  },
};