Skip to content

Commit

Permalink
fix: PreviewGroup countRender type (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun authored Jul 27, 2023
1 parent d01e106 commit dca8b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PreviewGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface PreviewGroupPreview
* @default 0
*/
current?: number;
countRender?: (current: number, total: number) => string;
countRender?: (current: number, total: number) => React.ReactNode;
toolbarRender?: (originalNode: React.ReactNode, info: ToolbarRenderInfoType) => React.ReactNode;
imageRender?: (
originalNode: React.ReactNode,
Expand Down

1 comment on commit dca8b27

@vercel
Copy link

@vercel vercel bot commented on dca8b27 Jul 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.