Repository URL to install this package:
|
Version:
2.1.12 ▾
|
import fromSelectionToAttributes from './fromSelectionToAttributes'
/**
* @alias selectorClass
* @param {React.ClassAttributes} props
* @param {string} name
* @return {string} classname
*/
const makeClassName = (props, name) => {
const attributes = fromSelectionToAttributes(props, name)
return attributes.className
}
export { makeClassName }
export default makeClassName