dhre-ui-kit 0.0.226 → 0.0.227
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/lib/index.d.ts +1 -0
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -1592,7 +1592,8 @@ const CustomProgressBar = ({
|
|
|
1592
1592
|
interval = 100,
|
|
1593
1593
|
// Default interval to 100ms
|
|
1594
1594
|
percentageText,
|
|
1595
|
-
valueTextStyle
|
|
1595
|
+
valueTextStyle,
|
|
1596
|
+
percentageTextStyle
|
|
1596
1597
|
}) => {
|
|
1597
1598
|
React.useEffect(() => {
|
|
1598
1599
|
const progressInterval = setInterval(() => {
|
|
@@ -1618,7 +1619,8 @@ const CustomProgressBar = ({
|
|
|
1618
1619
|
{
|
|
1619
1620
|
text: percentageText,
|
|
1620
1621
|
variant: "L3_REGULAR",
|
|
1621
|
-
textColor: "CONTENT_PRIMARY"
|
|
1622
|
+
textColor: "CONTENT_PRIMARY",
|
|
1623
|
+
style: percentageTextStyle
|
|
1622
1624
|
}
|
|
1623
1625
|
) : null);
|
|
1624
1626
|
};
|