1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-01 04:29:18 +00:00

NORY-15: implement infinite scroll for identities

This commit is contained in:
Markus Thielker 2024-12-08 08:36:04 +01:00
parent 2eb4b80607
commit 6db1b441f0
No known key found for this signature in database
3 changed files with 64 additions and 6 deletions

View file

@ -0,0 +1,20 @@
import { cn } from '@/lib/utils';
import { RefObject } from 'react';
export const Spinner = (
{ className, ref }: { className?: string, ref: RefObject<any> },
) => <svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
className={cn('animate-spin', className)}
ref={ref}
>
<path d="M21 12a9 9 0 1 1-6.219-8.56"/>
</svg>;