diff --git a/src/utils/index.js b/src/utils/index.js index 9f2c935..bc7624a 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -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, + }; +}; \ No newline at end of file