import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import autobind from 'autobind-decorator'; import {Cookie} from 'tough-cookie'; import {cookieToString} from '../../common/cookies'; import PromptButton from './base/prompt-button'; import RenderedText from './rendered-text'; @autobind class CookieList extends PureComponent { _handleCookieAdd () { const newCookie = new Cookie({ key: 'foo', value: 'bar', domain: this.props.newCookieDomainName, path: '/', secure: false, httpOnly: false }); this.props.onCookieAdd(newCookie); } _handleDeleteCookie (cookie) { this.props.onCookieDelete(cookie); } render () { const { cookies, handleShowModifyCookieModal, handleRender } = this.props; return (
Domain | Cookie | |
---|---|---|
{' '}
|
I couldn't find any cookies for you.