Sha256: 981585904c78680fe258680fcae72dd19ba00aa524ce2bcb6a0880c94068dd91
Contents?: true
Size: 1.18 KB
Versions: 86
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true module Playbook module PbPhoneNumberInput class PhoneNumberInput < Playbook::KitBase prop :disabled, type: Playbook::Props::Boolean, default: false prop :initial_country, type: Playbook::Props::String, default: "" prop :label, type: Playbook::Props::String, default: "" prop :name, type: Playbook::Props::String, default: "" prop :only_countries, type: Playbook::Props::Array, default: [] prop :preferred_countries, type: Playbook::Props::Array, default: [] prop :value, type: Playbook::Props::String, default: "" def classname generate_classname("pb_phone_number_input") end def phone_number_input_options { id: id, dark: dark, disabled: disabled, initialCountry: initial_country, label: label, name: name, onlyCountries: only_countries, preferredCountries: preferred_countries, value: value, } end end end end
Version data entries
86 entries across 86 versions & 1 rubygems