Sha256: 4ef4a3dc03b1bf5fc15910107c650355deb7c86c8660dbb2bc9d6f51ec24f14c
Contents?: true
Size: 256 Bytes
Versions: 6
Compression:
Stored size: 256 Bytes
Contents
# frozen_string_literal: true class ReactComponent < ApplicationComponent attr_accessor :props def initialize(props = {}) @props = props super end def call tag.div data: { component: { path: virtual_path, props: @props } } end end
Version data entries
6 entries across 6 versions & 1 rubygems