import compileClassNames from "../libraries/compileClassNames";

export default (customClassName,...props)=>{

    let isPlainClassName = typeof customClassName === "string" ? true : false; 
    return compileClassNames(...props,{
        [customClassName] : !!isPlainClassName
    });
}