Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/mrgnw/ananas. learn multiple languages at once ananas.xcc.es
Something went wrong. Try again.
123456789101112131415161718192021222324<script lang="ts"> import { Command as CommandPrimitive } from "cmdk-sv"; import MagnifyingGlass from "svelte-radix/MagnifyingGlass.svelte"; import { cn } from "$lib/utils.js";
type $$Props = CommandPrimitive.InputProps;
let className: string | undefined | null = undefined; export { className as class }; export let value: string = "";</script>
<div class="flex items-center border-b px-3" data-cmdk-input-wrapper=""> <MagnifyingGlass class="mr-2 h-4 w-4 shrink-0 opacity-50" /> <CommandPrimitive.Input class={cn( "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50", className )} {...$$restProps} bind:value /></div>