8 lines
197 B
TypeScript
8 lines
197 B
TypeScript
const getToggledClassName = isToggled => {
|
|
return isToggled
|
|
? '!text-primary'
|
|
: '!text-common-bright hover:!bg-primary-dark hover:text-primary-light';
|
|
};
|
|
|
|
export { getToggledClassName };
|