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:
parent
2eb4b80607
commit
6db1b441f0
3 changed files with 64 additions and 6 deletions
20
dashboard/src/components/ui/spinner.tsx
Normal file
20
dashboard/src/components/ui/spinner.tsx
Normal 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>;
|
Loading…
Add table
Add a link
Reference in a new issue