This commit is contained in:
Eric Liu 2024-03-23 15:28:23 -07:00
commit 06f1ece637
4 changed files with 253 additions and 405 deletions

View file

@ -2,13 +2,13 @@ import type { SvelteComponentTyped } from "svelte";
export interface LayerProps {
/**
* Specify the layer level and override any existing levels based on hierarchy.
* Specify the layer level to override any existing levels based on hierarchy.
* @default undefined
*/
level?: 0 | 1 | 2;
/**
* Specify the HTML element to render. If none is specified, a `div` is rendered.
* Specify the HTML element to render.
* @default "div"
*/
as?: string;