Sha256: 0e227b534f84e539ea3b8b7a2ea09f180d8fa580ec08768fab8c9b3391aceccd
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 Bytes
Contents
/* @flow */ import React from 'react' import Icon from '../pb_icon/_icon' type LightboxHeaderIconProps = { onClose: () => mixed, icon: string, iconSize: string, } export const LightboxHeaderIcon = (props: LightboxHeaderIconProps) => { const { onClose, icon, iconSize } = props return ( <div className="close-icon" onClick={onClose} > <Icon fixedWidth icon={icon} size={iconSize} /> </div> ) }
Version data entries
2 entries across 2 versions & 1 rubygems