mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-16 08:27:03 +03:00
16 lines
388 B
TypeScript
16 lines
388 B
TypeScript
import * as React from "react";
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
import { CategoryChooserComponent } from "../components/options/CategoryChooserComponent";
|
|
|
|
class CategoryChooser {
|
|
|
|
constructor(element: Element) {
|
|
const root = createRoot(element);
|
|
root.render(
|
|
<CategoryChooserComponent />
|
|
);
|
|
}
|
|
}
|
|
|
|
export default CategoryChooser; |