Sha256: db3ec381f6941c352b36a464c214caa0de3156b4ceb643b9d5b9906d7ebae2de
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
/* @flow */ import React from 'react' import Icon from '../../pb_icon/_icon' import {IconSizes} from '../../pb_icon/_icon' type LightboxHeaderIconProps = { onClose: () => void, icon: string, iconSize: IconSizes, } export const LightboxHeaderIcon = (props: LightboxHeaderIconProps): React.ReactElement => { const { onClose, icon, iconSize } = props return ( <div className="close-icon ml_sm" onClick={onClose} > <Icon fixedWidth icon={icon} size={iconSize} /> </div> ) }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-11.7.0.pre.alpha.table1 | app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header_icon.tsx |
playbook_ui-11.7.0 | app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header_icon.tsx |