require_relative 'datetime_base' module Voom module Presenters module DSL module Components class DatetimeField < DatetimeBase attr_reader :config def initialize(**attribs_, &block) super(type: :datetime, **attribs_, &block) merge_config(:min_date) merge_config(:max_date) merge_config(:min_time) merge_config(:max_time) expand! end end end end end end