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.6.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.5.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.7.0.pre.alpha.pre.guagechart1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.6.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.6.0.pre.alpha.rubocopperf1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.6.1.pre.alpha.rubocop.pre.performance1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.5.0.pre.alpha.pre.rubocop app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.6.0.pre.alpha.momenttz1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.5.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.4.0.pre.alpha.rubytheme2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.4.0.pre.alpha.rubytheme1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.4.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.3.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.7 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.6 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.5 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-11.2.4 app/pb_kits/playbook/pb_dialog/_close_icon.jsx