@thairath/tr-design-system 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -5583,11 +5583,13 @@ var CardArticle = _ref => {
5583
5583
  category,
5584
5584
  categoryColor,
5585
5585
  datetime,
5586
- className
5586
+ className,
5587
+ onClick
5587
5588
  } = _ref;
5588
5589
  return /*#__PURE__*/React.createElement(TRO_Card, {
5589
5590
  variant: variant,
5590
- className: className ? className : ''
5591
+ className: className ? className : '',
5592
+ onClick: onClick
5591
5593
  }, thumbnail && /*#__PURE__*/React.createElement(TRO_CardThumbnail, {
5592
5594
  className: "tro--card--thumbnail"
5593
5595
  }, /*#__PURE__*/React.createElement("a", {