Refactor lightbox prop drilling (#6073)
* Refactor lightbox footer to render prop * Unify lightbox types * Unindent * Refactor LightboxFooter props * Move LightboxFooter into the implementation file
This commit is contained in:
@@ -152,7 +152,6 @@ export function PostEmbeds({
|
||||
thumbDims: MeasuredDimensions | null,
|
||||
) => {
|
||||
openLightbox({
|
||||
type: 'images',
|
||||
images: items,
|
||||
index,
|
||||
thumbDims,
|
||||
|
||||
Reference in New Issue
Block a user