@s-ui/react-atom-image
Advanced tools
Comparing version 2.6.0 to 2.7.0
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import { jsxs as _jsxs } from "react/jsx-runtime"; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { jsxs as _jsxs } from "react/jsx-runtime"; | ||
import { cloneElement, useState, useEffect, useRef, useCallback } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import cx from 'classnames'; | ||
@@ -23,3 +24,3 @@ import { htmlImgProps } from './types'; | ||
className: className, | ||
children: [Icon, /*#__PURE__*/_jsx("p", { | ||
children: [Icon, Boolean(text) && /*#__PURE__*/_jsx("p", { | ||
children: text | ||
@@ -26,0 +27,0 @@ })] |
{ | ||
"name": "@s-ui/react-atom-image", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
15573
107