FarmBot/Farmbot-Web-App

View on GitHub
frontend/sequences/step_tiles/tile_if.tsx

Summary

Maintainability
A
3 hrs
Test Coverage
import React from "react";
import { StepParams } from "../interfaces";
import { InnerIf } from "./tile_if/index";
import { If } from "farmbot";

export const TileIf = (props: StepParams<If>) =>
  <InnerIf
    currentSequence={props.currentSequence}
    currentStep={props.currentStep}
    dispatch={props.dispatch}
    readOnly={props.readOnly}
    index={props.index}
    sequencesState={props.sequencesState}
    resources={props.resources}
    showPins={props.showPins} />;