mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
11 lines
215 B
Ruby
11 lines
215 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ButtonComponent < ViewComponent::Base
|
|
def initialize(text:, left_icon:, right_icon:)
|
|
@text = text
|
|
@left_icon = left_icon
|
|
@right_icon = right_icon
|
|
end
|
|
|
|
end
|