mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-06-10 07:16:01 +00:00
fix: corrige tipagem compartilhada e compatibilidade do typecheck
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { RiLoader4Line } from "@remixicon/react";
|
||||
import { cn } from "@/shared/utils/ui";
|
||||
|
||||
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
|
||||
function Spinner({
|
||||
className,
|
||||
...props
|
||||
}: React.ComponentProps<typeof RiLoader4Line>) {
|
||||
return (
|
||||
<RiLoader4Line
|
||||
role="status"
|
||||
|
||||
Reference in New Issue
Block a user