Create core structure for the app

This commit is contained in:
2020-12-21 00:49:50 +05:30
parent 3b0a212ad4
commit 90ba2410b9
10 changed files with 85 additions and 186 deletions

6
src/plugins/index.js Normal file
View File

@@ -0,0 +1,6 @@
import Mpd from "./mpd";
import Weather from "./weather";
export default {
mpd: Mpd,
weather: Weather,
};

9
src/plugins/mpd.js Normal file
View File

@@ -0,0 +1,9 @@
import React from "react";
function Mpd() {
return <p> MPD Plugin </p>;
}
Mpd.pluginName = "Music Player";
export default Mpd;

9
src/plugins/weather.js Normal file
View File

@@ -0,0 +1,9 @@
import React from "react";
function Weather() {
return <p> Weather Plugin </p>;
}
Weather.pluginName = "Weather";
export default Weather;