Feature/image dialog #8
@@ -0,0 +1 @@
|
||||
export { ImageLightbox } from './ui/ImageLightbox';
|
||||
@@ -0,0 +1,23 @@
|
||||
'use client';
|
||||
|
||||
type Props = {
|
||||
/**
|
||||
* Image source URL
|
||||
*/
|
||||
src: string;
|
||||
/**
|
||||
* Image alt text, also used as the dialog accessible label
|
||||
*/
|
||||
alt: string;
|
||||
/**
|
||||
* CSS classes forwarded to the thumbnail button wrapper
|
||||
*/
|
||||
className?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Clickable image thumbnail that opens a fullscreen brutalist dialog on click.
|
||||
*/
|
||||
export function ImageLightbox(_props: Props) {
|
||||
return null;
|
||||
}
|
||||
Reference in New Issue
Block a user