Sha256: 4161843eb3d595a737416870c3764b0d98dd31680ee9de948342cc0e119d1aba
Contents?: true
Size: 1.09 KB
Versions: 189
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module Playbook module PbDialog class Dialog include Playbook::Props partial "pb_dialog/dialog" prop :ref prop :cancel_button prop :closeable, type: Playbook::Props::Boolean, default: true prop :confirm_button prop :oncancel prop :onchange prop :onclose prop :onconfirm prop :opened, type: Playbook::Props::Boolean, default: false prop :size, type: Playbook::Props::Enum, values: %w[sm md lg content], default: "md" prop :text prop :title prop :trigger def dialog_options { id: id, ref: ref, trigger: trigger, className: classname, cancelButton: cancel_button, closeable: closeable, confirmButton: confirm_button, onCancel: oncancel, onChange: onchange, onClose: onclose, onConfirm: onconfirm, opened: opened, size: size, text: text, title: title, } end end end end
Version data entries
189 entries across 189 versions & 1 rubygems