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

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/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';