Sha256: 5f4893782b4dbc77f9ba06e4a307a89d55d28b13cdf7043746a09284c30ae44b
Contents?: true
Size: 1.53 KB
Versions: 14
Compression:
Stored size: 1.53 KB
Contents
require_relative 'append' require_relative 'toggles' require_relative 'typography' require_relative 'grids' require_relative 'buttons' require_relative 'expansion_panels' require_relative 'content' require_relative 'menus' module Voom module Presenters module DSL module Components module Mixins module Common include Mixins::Toggles include Mixins::Append include Mixins::Typography include Mixins::Grids include Mixins::Buttons include Mixins::ExpansionPanels include Mixins::Content include Mixins::Menus def badge(badge=nil, **attributes, &block) self << Components::Badge.new(parent: self, badge: badge, context: context, **attributes, &block) end def card(**attributes, &block) self << Components::Card.new(parent: self, context: context, **attributes, &block) end def form(id: nil, **attributes, &block) self << Components::Form.new(parent: self, id: id, context: context, **attributes, &block) end def list(**attributes, &block) self << Components::List.new(parent: self, context: context, **attributes, &block) end def table(**attributes, &block) self << Components::Table.new(parent: self, context: context, **attributes, &block) end end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems