Pat's right. `classNames` is not a property of an HTML Element.