Sha256: a4327407977436d9fb56b8885c581970e9fa5b9b36f6108bd936415b52a87422

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

require File.join(File.dirname(__FILE__), 'layout_component')
module ExpressAdmin
  class HBox < 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/h_box.rb