""" import styled from '@emotion/styled'; import React from 'react'; import { useDispatch } from 'react-redux'; const WillsTable = styled('div')(({ theme }) => ({ backgroundColor: theme.palette.background.paper, })); """ Property 'palette' does not exist on type 'Theme'. Suggest a solution for the abover error. and update the current code with newer.
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter