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-11.2.4.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.3 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.1.2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.1.2.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.1.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.1.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.0.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.0.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.0.0.pre.alpha.2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.0.0.pre.alpha.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.27.0.pre.lazysizes1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.27.0.pre.datepicker1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.0.pre.alpha5 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-10.26.0.pre.rc1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx