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";
|
2021-05-27 13:55:13 +02:00
|
|
|
import type { Registration } from "./registration";
|
2021-05-06 01:22:55 +02:00
|
|
|
|
|
|
|
export enum ButtonPosition {
|
|
|
|
Standalone,
|
2021-09-02 21:01:29 +02:00
|
|
|
InlineStart,
|
2021-05-06 01:22:55 +02:00
|
|
|
Center,
|
2021-09-02 21:01:29 +02:00
|
|
|
InlineEnd,
|
2021-05-06 01:22:55 +02:00
|
|
|
}
|
|
|
|
|
2021-05-27 13:55:13 +02:00
|
|
|
export interface ButtonRegistration extends Registration {
|
2021-05-06 01:22:55 +02:00
|
|
|
position: Writable<ButtonPosition>;
|
|
|
|
}
|