Open escapingSamsara opened 10 months ago
In your component :
<GdprBanner {...props} on:analytics={initAnalytics} />
<script>
const props = {
/**
* You must set the cookie name.
**/
cookieName: 'beyonk_gdpr',
Not sure what you mean by props - do you mean different options in the list?
Hello !
How can i add the props object to the banner component in case i want to use custom props.
When i add the component like described in the readme:
how can i change the cookie settings via the prop object ? (i am asking because this is not shown)