johndatserakis / vue-cookie-accept-decline

👋 Show a banner with text, a decline button, and an accept button on your page. Remembers selection using cookies. Emits an event with current selection and on creation. Good for GDPR requirements.
https://johndatserakis.github.io/vue-cookie-accept-decline/
MIT License
147 stars 19 forks source link

Made generic buttons and updated dist #4

Closed Ornhoj closed 6 years ago

Ornhoj commented 6 years ago

In order to support more generic typed buttons, i have opted for slotted content in the buttons

johndatserakis commented 6 years ago

Hey there - thanks for the pull request! I do like the idea of adding scoped content to the buttons. That way if you want to use icons you can.

Merging now. Will be publishing on npm shortly.

johndatserakis commented 6 years ago

Ok - I've cleaned up the readme and incremented the version number. Because this gets rid of some old props I've set this version to 2.0.0 - it's now published in npm.