Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use the common "Share icon" instead of the button text and font-awesome icon showed in the demo? #316

Open
Nazarah opened this issue Mar 17, 2017 · 2 comments

Comments

@Nazarah
Copy link

Nazarah commented Mar 17, 2017

Details

share-button

This one is more intuitive and common among people.
Got this from Android material Design icon set.

@refi64
Copy link

refi64 commented Apr 30, 2017

FWIW this is untested, but you should be able to shove this in your CSS:

share-button:before {
  background: url("URL-TO-MY-ICON.svg");
}

and then create a ShareButton using this:

new ShareButton({ui: { buttonText: '' }});

@Nazarah
Copy link
Author

Nazarah commented May 2, 2017

Thanks a lot for the help. :)
i'll have a look to the code. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants