Anki/ts/graphs/SeparateInactiveCheckbox.svelte

14 lines
417 B
Svelte

<script lang="typescript">
import type { I18n } from "anki/i18n";
import type { CustomStore } from "./preferences";
export let i18n: I18n;
export let cardCountsSeparateInactive: CustomStore<boolean>;
const label = i18n.tr(i18n.TR.STATISTICS_COUNTS_SEPARATE_SUSPENDED_BURIED_CARDS);
</script>
<label>
<input type="checkbox" bind:checked={$cardCountsSeparateInactive} />
{label}
</label>