@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 +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
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] =
|
|
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
package/src/index.d.ts
CHANGED