Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function createStyle(styles, name, scope = '') {
let namespace = ''
return {
Style: FreeStyle.create(s => `_${namespace}__${FreeStyle.stringHash(s)}`),
container: createModuleStylesContainer(styles, name, scope),
setNamespace: ns => namespace = ns,
}
}