Shows a message that explains the conditions of the Data Protection Act. By clicking on the button, the component stores the date and time as an identifier in the local storage, tracking when the user has clicked. If an identifier is stored, the cookie disclaimer wont show anymore till the user deletes its cache.
Attribute | Details |
---|---|
variant="fixed" |
Adds position fixed and put it to the end of the viewport |
The attribute title
specifies the title of the cookie disclaimer
The attribute buttonname
specifies the text on the accept button
The function-valued attribute onClick
can be used as a callback prop for React and other frameworks.