Sha256: d2ead6423595d8820a66e0fe9a45be9ceeee5094b9fecfa07bb8ce1aa28a27a5
Contents?: true
Size: 588 Bytes
Versions: 733
Compression:
Stored size: 588 Bytes
Contents
import React from 'react' import Icon from '../pb_icon/_icon' import { getAllIcons } from "../utilities/icons/allicons" type CloseIconProps = { onClose: () => void, } export const CloseIcon = (props: CloseIconProps): React.ReactElement => { const { onClose } = props const timesIcon = getAllIcons()["times"] return ( <div className="pb_dialog_close_icon" onClick={onClose} > <Icon className="svg-inline--fa" customIcon={timesIcon.icon as unknown as { [key: string]: SVGElement }} fixedWidth /> </div> ) }
Version data entries
733 entries across 427 versions & 1 rubygems