7 lines
253 B
TypeScript
7 lines
253 B
TypeScript
import { persistentWritable } from '$lib/persistentStore';
|
|
import type { Writable } from 'svelte/store';
|
|
|
|
export type LayoutDirection = 'column' | 'row';
|
|
|
|
export const layoutDirection: Writable<LayoutDirection> = persistentWritable('layout', 'column');
|