mirror of https://github.com/TZGyn/shortener
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
423 B
Svelte
15 lines
423 B
Svelte
<script lang="ts">
|
|
import { Form as FormPrimitive } from "formsnap";
|
|
import { cn } from "$lib/utils";
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
|
|
type $$Props = HTMLAttributes<HTMLParagraphElement>;
|
|
let className: string | undefined | null = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<FormPrimitive.Validation
|
|
class={cn("text-sm font-medium text-destructive", className)}
|
|
{...$$restProps}
|
|
/>
|