Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selector = "";
styles = a;
} else if (typeof a === "string") {
selector = a;
styles = b;
} else {
return {};
}
return Object.assign(
{
"&:focus": {
outline: "none",
},
},
canUseFocusVisible()
? {
[applyFocusVisibleSelector(selector)]: styles,
}
: {
[applyFocusVisiblePolyfillSelector(selector)]: styles,
}
);
}