Skip to content

feat(CookieConsent): Add custom cookie types and defaultChecked for cookieList items #318

@EgorKluch

Description

@EgorKluch

Problems

  • We need to add new type of cookie, that isn't implemented in CookieConsent
  • We need to check this cookie by default into ConsentPopup

Solution

  1. Add defaultChecked?: boolean to ConsentPopupCookieListItem
  2. Add generic TConsentType = ConsentType to CookieConsent, ConsentPopup, ConsentManager and all places where is ConsentType used

Second step need to many places to change, if it's possible I want to add functional type to ConsentType instead my solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions