mirror of
https://github.com/ankitects/anki.git
synced 2025-12-08 20:36:57 -05:00
14 lines
429 B
TypeScript
14 lines
429 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import { setupI18n } from "../i18n";
|
|
import GraphsPage from "./GraphsPage.svelte";
|
|
|
|
export function graphs(target: HTMLDivElement, nightMode: boolean): void {
|
|
setupI18n().then((i18n) => {
|
|
new GraphsPage({
|
|
target,
|
|
props: { i18n, nightMode },
|
|
});
|
|
});
|
|
}
|