How do I render a JSON data dynamically into a component using something like an array.map method with Typescript. for example. I get an error from the code below.
const PricingSection: FC<IProps> = ({ icon, title, price, user, observations,
projects, interviews, buttonType }) =>
const mapped = map(datas => (
<ul style={{ display: 'flex' }}>
{datas.icon}
</ul>
)
it's not working – Kenny Jun 15 '20 at 13:22