You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The snippet above is pseudo code so don't take as the way to implement.
neverAccepted would be the props for the state of the use regarding having or not accepted the cookie consent. There are several "best practices" that advocates to neve use a boolean prop but I think this is a great case for a boolean prop since we'll decouple a state that can be represented as boolean.
options would be an object which we'll need to define an interface and all the options to customize it.
I suggest we start implementing the boolean and then start to develop the options, since a lot is involved in this: read and write cookies etc. Please, any PR or commit place #11 somewhere and GitHub will help us keep track of it!
Create a Component at
src
to be exported as default or named export?or
The text was updated successfully, but these errors were encountered: