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.
12345678910111213141516171819202122232425<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;
interface Props { [key: string]: any }
let { class: className = undefined, value = $bindable(""), ...rest }: Props = $props();</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 )} {...rest} bind:value /></div>