Sha256: 1e10f9215d8f19830a0fed75df29af5d5db6fce71fb02e027e9b5518d356a2f9
Contents?: true
Size: 368 Bytes
Versions: 24
Compression:
Stored size: 368 Bytes
Contents
module Lookbook class Message::Component < Lookbook::BaseComponent attr_reader :title, :icon_name, :icon_position, :theme def initialize(title: nil, icon: nil, icon_position: :left, theme: :info, **html_attrs) @title = title @icon_name = icon @icon_position = icon_position @theme = theme super(**html_attrs) end end end
Version data entries
24 entries across 24 versions & 1 rubygems