2.9.7






Contact

Default

(349) 185-9988
(555) 555-5555
email@example.com
(324) 562-7482

Close
<%= pb_rails("contact", props: {
  contact_type: "cell",
  contact_value: "349-185-9988",
}) %>

<%= pb_rails("contact", props: {
  contact_value: 5555555555,
}) %>

<%= pb_rails("contact", props: {
  contact_type: "email",
  contact_value: "email@example.com"
}) %>

<%= pb_rails("contact", props: {
  contact_type: "wrong number",
  contact_value: "3245627482",
}) %>
Detail Indicator

(349) 185-9988 Cell
(555) 555-5555 Home
(324) 562-7482 Work

Close
<%= pb_rails("contact", props: {
  contact_type: "cell",
  contact_value: "349-185-9988",
  contact_detail: "Cell",
}) %>

<%= pb_rails("contact", props: {
  contact_value: 5555555555,
  contact_detail: "Home",
}) %>

<%= pb_rails("contact", props: {
  contact_type: "work",
  contact_value: "3245627482",
  contact_detail: "Work",
}) %>
Available Props
id
data
classname
aria
children
contact_type
contact_value
contact_detail