@makigas/genshi-svelte
Version:
The Svelte Components required to integrate Genshi into a Svelte application
16 lines (15 loc) • 537 B
TypeScript
import { type Density } from '../common.js';
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
type Align = 'start' | 'end' | 'between' | 'center';
type Direction = 'horizontal' | 'vertical';
interface Props extends HTMLAttributes<HTMLDivElement> {
children?: Snippet;
density?: Density;
direction?: Direction;
reversed?: boolean;
align?: Align;
}
declare const Stack: import("svelte").Component<Props, {}, "">;
type Stack = ReturnType<typeof Stack>;
export default Stack;