Function: generateCssNamespaceFn()

generateCssNamespaceFn(prefix): (namespace) => object

Generate a function that creates BEM blocks with a given namespace.

Parameters

prefix

string

the namespace for the BEM blocks

Returns

(namespace) => object