Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { cls } = this.state
const { className, tag } = this.props
return h(
tag,
Object.assign({}, this.props, {
className: merge([className, cls].filter(Boolean).join(' '))
})
)
}
}