Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
fix: allow React.ReactNode as imageTitle and imageCaption in TypeScri…
Browse files Browse the repository at this point in the history
…pt projects (#158)
  • Loading branch information
stby4 authored and wuweiweiwu committed May 3, 2019
1 parent 604b076 commit f1858a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export interface ILightBoxProps {
animationDuration?: number;
keyRepeatLimit?: number;
keyRepeatKeyupBonus?: number;
imageTitle?: string;
imageCaption?: string;
imageTitle?: React.ReactNode | string;
imageCaption?: React.ReactNode | string;
imageCrossOrigin?: string;
toolbarButtons?: React.ReactNode[];
reactModalStyle?: any;
Expand Down

0 comments on commit f1858a3

Please sign in to comment.