import { PhotoView } from "$lexicon/types/social/grain/photo/defs.ts"; import { $Typed } from "$lexicon/util.ts"; import { AtUri } from "@atproto/syntax"; import { Button } from "./Button.tsx"; import { Dialog } from "./Dialog.tsx"; export function LibraryPhotoSelectDialog({ galleryUri, photos, }: Readonly<{ galleryUri: string; photos: $Typed[]; }>) { const rkey = new AtUri(galleryUri).rkey; return ( My library
{photos.length ? (
{photos.map((photo) => ( ))}
) : (

No photos yet.

)}
0 selected
Close
); } export function LibaryPhotoSelectDialogButton({ galleryUri }: Readonly<{ galleryUri: string; }>) { const rkey = new AtUri(galleryUri).rkey; return ( ); } export function PhotoItem({ photo, }: Readonly<{ photo: PhotoView; }>) { return ( ); }