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.modern.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import 'material-design-icons-iconfont/dist/material-design-icons.css';
|
2
2
|
import React, { useContext, useState, useEffect, Fragment, useRef, Children, useMemo } from 'react';
|
3
|
-
import { preview } from '@reactpreview/config';
|
4
3
|
import RSwitch from 'react-switch';
|
5
4
|
import { NotificationContainer, NotificationManager } from 'react-notifications';
|
6
5
|
import 'react-notifications/lib/notifications.css';
|
@@ -197,22 +196,6 @@ var Button$1 = function Button(_ref) {
|
|
197
196
|
action: click
|
198
197
|
}) : null, /*#__PURE__*/React.createElement("span", null, label));
|
199
198
|
};
|
200
|
-
preview(Button$1, {
|
201
|
-
example1: {
|
202
|
-
label: "OK",
|
203
|
-
raised: true,
|
204
|
-
action: function action() {
|
205
|
-
return alert('click');
|
206
|
-
}
|
207
|
-
},
|
208
|
-
example2: {
|
209
|
-
label: "CANCEL",
|
210
|
-
outlined: true,
|
211
|
-
action: function action() {
|
212
|
-
return alert('click');
|
213
|
-
}
|
214
|
-
}
|
215
|
-
});
|
216
199
|
|
217
200
|
/**
|
218
201
|
* Site Context
|