@sinco/react 1.0.2-rc.16 → 1.0.2-rc.18

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -12641,7 +12641,7 @@ var WarningRounded = createSvgIcon( /*#__PURE__*/jsx("path", {
12641
12641
  const ToastNotification = toast => {
12642
12642
  const [openToast, setOpenToast] = useState(true);
12643
12643
  const [showOptions, setShowOptions] = useState(true);
12644
- const [progress, setProgress] = React__default.useState(0);
12644
+ const [progress, setProgress] = useState(100);
12645
12645
  const [timeProgress] = useState(toast.time || 8000);
12646
12646
  const IconMap = {
12647
12647
  success: /*#__PURE__*/React__default.createElement(CheckCircleRounded, null),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.2-rc.16",
3
+ "version": "1.0.2-rc.18",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './lib/Theme';
2
2
  export { default as ToastNotification } from './lib/toastNotification/ToastNotification';
3
3
  export * from './lib/toastNotification/ToastNotification';
4
+ export * from './lib/toastNotification/interfaces';