{"size": 353, "ext": "js", "max_stars_repo_path": "extension/src/ui/anki/index.js", "max_stars_repo_name": "fr1edrik/asbplayer", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "extension/src/ui/anki/index.js", "max_issues_repo_name": "fr1edrik/asbplayer", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "extension/src/ui/anki/index.js", "max_forks_repo_name": "fr1edrik/asbplayer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.4166666667, "max_line_length": 76, "alphanum_fraction": 0.7138810198}
import '@fontsource/roboto';
import React from 'react';
import { render } from 'react-dom';
import Bridge from '../Bridge';
import AnkiUi from '../components/AnkiUi';

export function renderAnkiUi(element, mp3WorkerUrl) {
    const bridge = new Bridge();
    render(<AnkiUi bridge={bridge} mp3WorkerUrl={mp3WorkerUrl} />, element);
    return bridge;
}
