Sha256: 3a0df69c936226ea5125c316beac2eedfb1ec652f1c8245ddca3888a18ac95ac

Contents?: true

Size: 384 Bytes

Versions: 110

Compression:

Stored size: 384 Bytes

Contents

/* @flow */

import React from 'react'
import Icon from '../pb_icon/_icon'

type CloseIconProps = {
  onClose: () => mixed,
}

export const CloseIcon = (props: CloseIconProps) => {
  const { onClose } = props
  return (
    <div
        className="pb_dialog_close_icon"
        onClick={onClose}
    >
      <Icon
          fixedWidth
          icon="times"
      />
    </div>
  )
}

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
playbook_ui-10.26.0.pre.alpha.sticky1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.0.pre.alpha.display1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.0.pre.alpha3 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.25.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.25.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.24.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.23.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.23.0.pre.alpha2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.23.0.pre.cachetest app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.23.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.22.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.22.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.21.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_dialog/_close_icon.jsx