#styles error in Modal

2 messages · Page 1 of 1 (latest)

quaint junco
#

getting below error in styles prop. I have upgraded from v5 to v7. After upgrade started getting this error

styles={(theme, params) => ({
header: { ...(zeroPad && { marginBottom: 0 }) },
close: { color: theme.colors.dark[5] },
...(typeof styles === 'object' ? { ...styles } : styles ? { ...styles(theme, params) } : {})
})}

quaint junco
#

@empty nova