mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +03:00
Added basic category chooser UI
This commit is contained in:
15
src/render/CategoryChooser.tsx
Normal file
15
src/render/CategoryChooser.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
import CategoryChooserComponent from "../components/CategoryChooserComponent";
|
||||
|
||||
class CategoryChooser {
|
||||
|
||||
constructor(element: Element) {
|
||||
ReactDOM.render(
|
||||
<CategoryChooserComponent/>,
|
||||
element
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default CategoryChooser;
|
||||
Reference in New Issue
Block a user