Sha256: 870cde021a714926e43790594b1d4f79a5acd131d79eabcc027e707dacdddb14

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

module Lookbook
  module UI
    class SystemPage < BaseComponent
      with_slot :message do |**kwargs|
        Lookbook::UI::SystemMessage.new(theme: theme, **kwargs)
      end

      attr_reader :theme

      def initialize(theme: :default, **kwargs)
        @theme = theme
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lookbook-3.0.0.alpha.2 app/components/lookbook/ui/pages/system_page/system_page.rb
lookbook-3.0.0.alpha.1 app/components/lookbook/ui/pages/system_page/system_page.rb
lookbook-3.0.0.alpha.0 app/components/lookbook/ui/app/system_page/system_page.rb