Skip to content

Commit 046dac4

Browse files
committed
feat: update Island story to remove unused predictionValue from Progress component
1 parent 3d49c9c commit 046dac4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/island/Island.stories.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {Island} from "./Island";
44
import {ButtonGroup} from "../button-group/ButtonGroup";
55
import {Button} from "../button/Button";
66
import {Text} from "../text/Text";
7-
import {IconCircleCheck, IconCircleX, IconFileSpark} from "@tabler/icons-react";
7+
import {IconCircleCheck, IconCircleX} from "@tabler/icons-react";
88
import {Flex} from "../flex/Flex";
99
import {FullScreen} from "../fullscreen/FullScreen";
1010
import {Progress} from "../progress/Progress";
@@ -43,7 +43,8 @@ export const IslandExample = () => {
4343
<Button onClick={() => {
4444
addIslandNotification({
4545
icon: <Text c={"#70ffb2"}>Approaching limit</Text>,
46-
message: <Progress w={"100px"} h={"7.5px"} value={30} predictionValue={75} max={100} color={"#70ffb2"}/>,
46+
message: <Progress w={"100px"} h={"7.5px"} value={30} predictionValue={75} max={100}
47+
color={"#70ffb2"}/>,
4748
content: <Flex w={"100%"} style={{flexDirection: "column", gap: "0.7rem"}}>
4849
<Text>
4950
You used 50% of your available workflow executions and will used 75% until its reseted.

0 commit comments

Comments
 (0)