import styled from 'styled-components'; import colors from 'styles/colors'; import Card from 'components/Form/Card'; import Heading from 'components/Form/Heading'; import { ExpandableRow } from 'components/Form/Row'; const Outer = styled(Card)``; const CookiesCard = (props: { cookies: any }): JSX.Element => { const cookies = props.cookies; return ( Cookies { cookies.length === 0 &&

No cookies found.

} { cookies.map((cookie: any, index: number) => { const attributes = Object.keys(cookie.attributes).map((key: string) => { return { lbl: key, val: cookie.attributes[key] } }); return ( ) }) }
); } export default CookiesCard;