Skip to content

How to set IconButton label value in custom plugin? #302

Answered by igordanchenko
ammoyf asked this question in Q&A
Discussion options

You must be logged in to vote

You can register custom labels with the following module augmentation:

declare module "yet-another-react-lightbox" {
  interface Labels {
    Rotate?: string;
  }
}

Thank you for pointing this out, I'll update the docs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ammoyf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants