Sha256: 10e04bdcaf76f570aa18d7b321768c02ac3f7b31440dddeb6b7f40914d662e1e
Contents?: true
Size: 481 Bytes
Versions: 14
Compression:
Stored size: 481 Bytes
Contents
require_relative 'mixins/event' module Voom module Presenters module DSL module Components class Badge < EventBase attr_accessor :badge, :icon, :text def initialize(**attribs_, &block) super(type: :badge, **attribs_, &block) @badge = attribs.delete(:badge) @icon = attribs.delete(:icon) @text = attribs.delete(:text) expand! end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems