Sha256: 72760d096efe2d67947f35c2542dc39573c52457854931faa4d3b9f96bed643b

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

require File.join(File.dirname(__FILE__), 'layout_component')
module ExpressAdmin
  class VBox < LayoutComponent

    emits -> {
      div(dom_id, class: classes) {
        _yield
      }
    }

    def classes
      super + ' container'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
express_admin-1.2.0 app/components/express_admin/v_box.rb