Sha256: b2c708ce8ea5db102927addad7d6e7428b414efaf302b5e5cc5368fa078fbb61

Contents?: true

Size: 165 Bytes

Versions: 2

Compression:

Stored size: 165 Bytes

Contents

:javascript
  reactComponents.default.render({	
    component: '#{name}',	
    props: #{props.to_json()},	
    element: document.getElementById('#{element}'),	
  })

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
react-render-anywhere-helper-0.1.6 lib/common/_render_components.haml
react-render-anywhere-helper-0.1.3 lib/common/_render_component.haml