Project DebTrApp
    Preparing search index...

    Function TransactionsSummary

    • Transaction summery component with 1 top child and 2 bottom left/right children.

      Parameters

      • props: {
            image: number;
            leftIcon: number;
            leftName: string;
            leftValue: number;
            rightIcon: number;
            rightName: string;
            rightValue: number;
            topName: string;
            topValue: number;
        }
        • image: number

          Background image.

        • leftIcon: number
        • leftName: string
        • leftValue: number
        • rightIcon: number
        • rightName: string
        • rightValue: number
        • topName: string
        • topValue: number

      Returns Element

      <TransactionsSummary
      image={images.transactions_yellow_bg}
      topName="Total Balance"
      topValue={0.0}
      leftIcon={icons.income}
      leftName="Income"
      leftValue={0.0}
      rightIcon={icons.expense}
      rightName="Expense"
      rightValue={0.0}
      />