Getting information from created cookies
npm i duct-get-cookie
Add the duct-get-cookie package in the component you want to use after installation.
import getCookie from 'duct-get-cookie'
ready to use
getCookie("cookieName")
The function will return the cookie value