Sha256: 51bb3ae873d07ef3521a2af91f6562f4bc2dea672a417db1c2ee724f336dc565

Contents?: true

Size: 375 Bytes

Versions: 67

Compression:

Stored size: 375 Bytes

Contents

/* @flow */

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

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

67 entries across 67 versions & 1 rubygems

Version Path
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.9.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.8.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.7.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.6.1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.6.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.5.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.4.0 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_dialog/_close_icon.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_dialog/_close_icon.jsx