Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

micro:bit Image #184

Merged
merged 5 commits into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/view/components/cpx/Cpx.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

import * as React from "react";
import Simulator from "../../components/Simulator";
import { TOOLBAR_ICON_ID } from "../../components/toolbar/SensorModalUtils";
Expand Down
21 changes: 21 additions & 0 deletions src/view/components/microbit/Microbit.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

import * as React from "react";
import "../../styles/Simulator.css";
import { MicrobitImage } from "./MicrobitImage";

// Component grouping the functionality for micro:bit functionalities

export class Microbit extends React.Component {
render() {
return (
<div className="simulator">
<div className="microbit-container">
<MicrobitImage />
</div>
{/* Implement actionbar here */}
</div>
);
}
}
10 changes: 10 additions & 0 deletions src/view/components/microbit/MicrobitImage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

import * as React from "react";
import "../../styles/Microbit.css";
import { MICROBIT_SVG } from "./Microbit_svg";

export const MicrobitImage: React.FC = () => {
return MICROBIT_SVG;
};
Loading