Farmbot-Web-App/webpack/sequences/sequence_editor_middle_inac...

16 lines
461 B
TypeScript

import * as React from "react";
import { t } from "i18next";
import { Content } from "../constants";
export const IMAGE_PATH = "/app-resources/img/empty-state-sequence.svg";
/** The bottom half of the Sequence editor panel (when no Sequence is selected). */
export function SequenceEditorMiddleInactive({ }: {}) {
return <div>
<p>
{t(Content.NO_SEQUENCE_SELECTED)}
</p>
<img className="empty-state-graphic" src={IMAGE_PATH} />
</div>;
}