anki/ts/components/buttons.ts

16 lines
418 B
TypeScript
Raw Normal View History

2021-05-06 01:22:55 +02:00
// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import type { Writable } from "svelte/store";
import type { Registration } from "./registration";
2021-05-06 01:22:55 +02:00
export enum ButtonPosition {
Standalone,
Leftmost,
Center,
Rightmost,
}
export interface ButtonRegistration extends Registration {
2021-05-06 01:22:55 +02:00
position: Writable<ButtonPosition>;
}