fix(dashboard): add missing utils for thumb setting

This commit is contained in:
Aaron Liu 2023-04-07 19:42:19 +08:00
parent 921ce720b9
commit ca831dbe19

View File

@ -161,3 +161,12 @@ export const removeI18nCache = () => {
}
});
};
export const getSelectItemStyles = (name, personName, theme) => {
return {
fontWeight:
personName.indexOf(name) === -1
? theme.typography.fontWeightRegular
: theme.typography.fontWeightMedium,
};
};