react obtenez un rembourrage

let node = this.refs["detailsInnerDiv"].childNodes[0] //assuming this as your target node
let nodeStyle = window.getComputedStyle(node)
let slideMarginRight = nodeStyle.getPropertyValue('padding')
CollectiveMind