UNPKG

@melt-ui/svelte

Version:
17 lines (16 loc) 1.09 kB
/// <reference types="svelte" /> import type { CreateSeparatorProps } from './types.js'; export declare const createSeparator: (props?: CreateSeparatorProps) => { elements: { root: import("../../internal/helpers/index.js").MeltElement<[import("../../internal/helpers/index.js").WithGet<import("svelte/store").Writable<import("../../internal/types.js").Orientation>>, import("../../internal/helpers/index.js").WithGet<import("svelte/store").Writable<boolean>>], import("svelte/action").Action<any, any, Record<never, any>>, ([$orientation, $decorative]: [import("../../internal/types.js").Orientation, boolean]) => { readonly role: "none" | "separator"; readonly 'aria-orientation': "vertical" | undefined; readonly 'aria-hidden': boolean; readonly 'data-orientation': import("../../internal/types.js").Orientation; }, "separator">; }; options: import("../../internal/helpers/index.js").ToWritableStores<{ orientation: import("../../internal/types.js").Orientation; decorative: boolean; }>; };