Sha256: 68d93773bc9c2294387a704a76e34b44e7c5fb274289ec36adde28374289c99b

Contents?: true

Size: 420 Bytes

Versions: 4

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

module RailsDevtools
  module Components
    class Lucide::Base < Components::ApplicationComponent
      attr_reader :width, :height, :stroke

      def initialize(width: 24, height: 24)
        @width = width.to_s
        @height = height.to_s
      end

      def view_template
        raise NotImplementedError, "You must implement the view_template method"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_devtools-0.1.3 app/views/rails_devtools/components/lucide/base.rb
rails_devtools-0.1.2 app/views/rails_devtools/components/lucide/base.rb
rails_devtools-0.1.1 app/views/rails_devtools/components/lucide/base.rb
rails_devtools-0.1.0 app/views/rails_devtools/components/lucide/base.rb