Class: Protos::Table
- Defined in:
- lib/protos/table.rb,
lib/protos/table/row.rb,
lib/protos/table/body.rb,
lib/protos/table/cell.rb,
lib/protos/table/head.rb,
lib/protos/table/footer.rb,
lib/protos/table/header.rb,
lib/protos/table/caption.rb
Defined Under Namespace
Classes: Body, Caption, Cell, Footer, Head, Header, Row
Constant Summary collapse
- Sizes =
Types::Coercible::Symbol.enum( :xs, :sm, :md, :lg )
- SIZES =
{ xs: "table-xs", sm: "table-sm", md: "table-md", lg: "table-lg" }.freeze
Instance Method Summary collapse
- #body ⇒ Object
- #caption ⇒ Object
- #cell ⇒ Object
- #footer ⇒ Object
- #head ⇒ Object
- #header ⇒ Object
- #row ⇒ Object
- #view_template(&block) ⇒ Object
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component