mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
20 lines
350 B
Ruby
20 lines
350 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
module Primer
|
||
|
|
module OpenProject
|
||
|
|
module Forms
|
||
|
|
# :nodoc:
|
||
|
|
class SegmentedControl < Primer::Forms::BaseComponent
|
||
|
|
prepend WrappedInput
|
||
|
|
|
||
|
|
delegate :builder, :form, to: :@input
|
||
|
|
|
||
|
|
def initialize(input:)
|
||
|
|
super()
|
||
|
|
@input = input
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|