ywana-core8 0.0.184 → 0.0.185
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 +0 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +0 -17
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -20
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/button.js +1 -15
package/dist/index.cjs
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require('material-design-icons-iconfont/dist/material-design-icons.css');
|
2
2
|
var React = require('react');
|
3
|
-
var config = require('@reactpreview/config');
|
4
3
|
var RSwitch = require('react-switch');
|
5
4
|
var reactNotifications = require('react-notifications');
|
6
5
|
require('react-notifications/lib/notifications.css');
|
@@ -204,22 +203,6 @@ var Button$1 = function Button(_ref) {
|
|
204
203
|
action: click
|
205
204
|
}) : null, /*#__PURE__*/React__default["default"].createElement("span", null, label));
|
206
205
|
};
|
207
|
-
config.preview(Button$1, {
|
208
|
-
example1: {
|
209
|
-
label: "OK",
|
210
|
-
raised: true,
|
211
|
-
action: function action() {
|
212
|
-
return alert('click');
|
213
|
-
}
|
214
|
-
},
|
215
|
-
example2: {
|
216
|
-
label: "CANCEL",
|
217
|
-
outlined: true,
|
218
|
-
action: function action() {
|
219
|
-
return alert('click');
|
220
|
-
}
|
221
|
-
}
|
222
|
-
});
|
223
206
|
|
224
207
|
/**
|
225
208
|
* Site Context
|