rubyforgood/casa

View on GitHub
app/components/truncated_text_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

class TruncatedTextComponent < ViewComponent::Base
  attr_reader :text, :label
  def initialize(text = nil, label: nil)
    @text = text
    @label = label
  end
end