Sha256: 8e2260de6c3ddc1647894e29b5d613ae6888f8ae3ff4b53827e3a163ab05405d

Contents?: true

Size: 282 Bytes

Versions: 124

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbKitHelper
    include ::Playbook::PbFormsHelper

    def pb_rails(kit_name, props: {}, &block)
      kit = Playbook::KitResolver.resolve(kit_name.to_s)
      render_component kit.new(props, &block), &block
    end
  end
end

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
playbook_ui-10.27.0.pre.datepicker1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0.pre.alpha5 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0.pre.rc1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0.pre.alpha.sticky1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0.pre.alpha.display1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0.pre.alpha3 lib/playbook/pb_kit_helper.rb
playbook_ui-10.25.1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.26.0.pre.alpha1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.25.0 lib/playbook/pb_kit_helper.rb
playbook_ui-10.25.0.pre.alpha3 lib/playbook/pb_kit_helper.rb
playbook_ui-10.25.0.pre.treeshaking1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.24.0 lib/playbook/pb_kit_helper.rb
playbook_ui-10.24.0.pre.alpha1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.23.0 lib/playbook/pb_kit_helper.rb
playbook_ui-10.23.0.pre.alpha2 lib/playbook/pb_kit_helper.rb
playbook_ui-10.23.0.pre.cachetest lib/playbook/pb_kit_helper.rb
playbook_ui-10.23.0.pre.alpha1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.22.1 lib/playbook/pb_kit_helper.rb
playbook_ui-10.22.0 lib/playbook/pb_kit_helper.rb