Sha256: 9d30873f4c4b8f1846b850e2af72d4e9ce7887de4af35716cce87754ada9793f

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

import React from 'react'
import { Icon } from '../../'

// import Icons as config from 'power-icons'
const config = {
  moon: (
    <svg
        aria-hidden="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 IconCustom = (props) => {
  return (
    <div>
      <Icon
          customIcon={config.moon}
          size="7x"
          {...props}
      />
    </div>
  )
}

export default IconCustom

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx
playbook_ui-10.0.1 app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx
playbook_ui-10.0.0 app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx