import React from "react"; export interface ICommandsListProps { gcodeLinesQueue: string[]; gcodeLinesSent: string[]; } function CommandsListComponent({ gcodeLinesQueue, gcodeLinesSent, }: ICommandsListProps) { const queuedCommandsList = gcodeLinesQueue.map((el, i) => (
  • {el}
  • )); const executedCommandsList = gcodeLinesSent.map((el, i) => (
  • {el}
  • )); return ( ); } export const CommandsList = CommandsListComponent;