Sha256: a57a146e1a1646dc9a03118bfde4d2e065a537fc029d69fde5655e4a3ec8efcd

Contents?: true

Size: 1.18 KB

Versions: 1632

Compression:

Stored size: 1.18 KB

Contents

import React from 'react'
import SelectableCardIcon from '../_selectable_card_icon'

const svg = {
  newChat: (
    <svg
        ariaHidden="true"
        focusable="false"
        role="img"
        viewBox="0 0 512 512"
        xmlns="http://www.w3.org/2000/svg"
    >
      <path
          d="M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288zM336 184h-56v-56c0-8.8-7.2-16-16-16h-16c-8.8 0-16 7.2-16 16v56h-56c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h56v56c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-56h56c8.8 0 16-7.2 16-16v-16c0-8.8-7.2-16-16-16z"
          fill="currentColor"
      />
    </svg>
  ),
}

const SelectableCardIconCustom = (props) => {
  return (
    <div className="pb--doc-demo-row">
      <SelectableCardIcon
          bodyText="Talk to someone you love"
          checked
          customIcon={svg.newChat}
          inputId={1}
          titleText="New Chat"
          {...props}
      />
    </div>
  )
}

export default SelectableCardIconCustom

Version data entries

1,632 entries across 1,632 versions & 2 rubygems

Version Path
playbook_ui_docs-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_custom.jsx