Sha256: 9f0633bdb1117942f6ac65095c67abf4a507b35dbd3672e95c8ae3e6877028c3
Contents?: true
Size: 497 Bytes
Versions: 12
Compression:
Stored size: 497 Bytes
Contents
module TaoUi module Components class MessageDialogComponent < DialogComponent attr_reader :confirm_text def initialize view, options super view, options @confirm_text = @options[:confirm_text] || I18n.t('tao_ui.components.dialog.confirm') end def self.component_name :message_dialog end private def default_options {class: 'tao-dialog tao-message-dialog', with_close_button: false} end end end end
Version data entries
12 entries across 12 versions & 1 rubygems