Skip to content

allow beforeOnClick to change url, title and other props #314

Open
@tttp

Description

@tttp

Hi,

I would like to modify the props (for instance to add the current time into the title, or a time sensitive elements like a counter) when the user clicks on a share button.

Is this possible? Right now, I'm using a closure function and I can read some props, like the displayName, but did not find a way to modify them

Am I missing something obvious?

    beforeOnClick={() => before(props)}
    onShareWindowClose={() => after(props)}

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