Skip to content

Commit

Permalink
Update React components names
Browse files Browse the repository at this point in the history
  • Loading branch information
MihirGore23 committed Nov 16, 2024
1 parent c870e37 commit 92fc467
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 168 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as React from "react";
import { Box } from "@mui/material";
import "./css/GUICanvas.css";
import { drawImage } from "./helpers/showImagesFollowLine";
import { drawImage } from "./helpers/showImages";


const SpecificFollowLine = (props) => {
const DisplayFeed = (props) => {
const [image, setImage] = React.useState(null)
const canvasRef = React.useRef(null)

Expand Down Expand Up @@ -45,9 +45,9 @@ const SpecificFollowLine = (props) => {
);
};

SpecificFollowLine.defaultProps = {
DisplayFeed.defaultProps = {
width: 800,
height: 600,
};

export default SpecificFollowLine
export default DisplayFeed
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import * as React from "react";
import {Fragment} from "react";

import "./css/DigClassMain.css";
import "./css/DigClassRR.css";

const DigClassMain = (props) => {
const FollowLineRR = (props) => {
return (
<Fragment>
{props.children}
</Fragment>
);
};

export default DigClassMain;
export default FollowLineRR;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{% react_component components/visualizers/ConsoleViewer%}{% end_react_component %}
{% end_react_component%}
{% react_component components/wrappers/FlexContainer%}
{% react_component exercise/human_detection_newmanager/SpecificFollowLine %}{% end_react_component %}
{% react_component exercise/human_detection_newmanager/DisplayFeed %}{% end_react_component %}
{% end_react_component %}
{% end_react_component %}
{% end_react_component %}
Expand Down

0 comments on commit 92fc467

Please sign in to comment.