/
dimamir
/
undb
Обзор
Документация
Войти
/
dimamir
/
undb
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
apps/frontend/src/lib/components/ui/command/command.svelte
19 строк
519 B
nichenqin
chore: prettier
14 май 2024, 04:57
14 май 2024, 04:57
5c0eb73
Код
Авторство
О чём код?
<script lang="ts"> import { Command as CommandPrimitive } from "cmdk-sv" import { cn } from "$lib/utils.js" type $$Props = CommandPrimitive.CommandProps export let value: $$Props["value"] = undefined let className: string | undefined | null = undefined export { className as class } </script> <CommandPrimitive.Root class={cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className)} bind:value {...$$restProps} > <slot /> </CommandPrimitive.Root>