xxxxxxxxxx
// these properties are for maximum height and width
.my-element {
max-width: 150px;
max-height: 100px;
}
xxxxxxxxxx
const full_analysis = useMemo(() => {
if (productKey !== 'company_product') {
return analysis;
}
return activeTab === 'engagement' ? engagement : retention_insights;
}, [activeTab]);