Skip to content

Can FsLightbox support pass extra className and id to the component? #231

@lokman928

Description

@lokman928

HI, I am using fslightbox-react for my personal project, I found this packet cannot allow developer to pass some custom className and id to the component. Can we have this feature in next update?

For example:

<FsLightbox id="testing_class" className="testing_class"/>

will render

<div id="testing_class" class="testing_class fslightbox-container fslightbox-full-dimension fslightbox-fade-in-strong">
    //sth inside
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions