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 {value, focusPath, type} = this.props
const options = type.options || {}
const isGrid = options.layout === 'grid'
const isExpanded = PathUtils.isExpanded(value, focusPath)
return (
<div>
{this.renderItem()}
{isExpanded && this.renderEditItemForm(value)}
</div>
)
}
}