Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render () {
let content = (
<dialog open="{this.state.open}">
{this.props.children}
</dialog>
)
if (this.props.transition) {
content = this.renderTransition(content)
}
return (