ywana-core8 0.0.755 → 0.0.756

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.cjs CHANGED
@@ -515,7 +515,8 @@ var Chip = function Chip(props) {
515
515
  action = props.action,
516
516
  outlined = props.outlined,
517
517
  selected = props.selected,
518
- onSelect = props.onSelect;
518
+ onSelect = props.onSelect,
519
+ className = props.className;
519
520
 
520
521
  function select(event) {
521
522
  event.stopPropagation();
@@ -526,7 +527,7 @@ var Chip = function Chip(props) {
526
527
  var style = outlined ? "outlined" : "normal";
527
528
  if (selected) style = style + " selected";
528
529
  return tooltip ? /*#__PURE__*/React__default["default"].createElement(Tooltip, tooltip, /*#__PURE__*/React__default["default"].createElement("div", {
529
- className: "chip " + style,
530
+ className: "chip " + className + " " + style,
530
531
  onClick: select
531
532
  }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
532
533
  icon: icon,
@@ -534,7 +535,7 @@ var Chip = function Chip(props) {
534
535
  }) : null, /*#__PURE__*/React__default["default"].createElement("main", null, /*#__PURE__*/React__default["default"].createElement(Text, null, label)), action ? /*#__PURE__*/React__default["default"].createElement("span", {
535
536
  className: "meta"
536
537
  }, action) : null)) : /*#__PURE__*/React__default["default"].createElement("div", {
537
- className: "chip " + style,
538
+ className: "chip " + className + " " + style,
538
539
  onClick: select
539
540
  }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
540
541
  icon: icon,