Skip to content

Commit

Permalink
fix(ui): fix CoreProgressBar icon & description
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Dec 17, 2024
1 parent 94f6293 commit 0cb1365
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/ui/public/components/progressbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/ui/src/components/core/content/CoreProgressBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ import {
} from "@/renderer/sharedStyleFields";
const clickHandlerStub = `
def handle_avatar_click():
print("The avatar was clicked")`;
def handle_progress_bar_click():
print("The progress bar was clicked")`;
const description = "A component to display a progression.";
const definition: WriterComponentDefinition = {
name: "ProgressBar",
name: "Progress Bar",
description,
category: "Content",
allowedChildrenTypes: ["*"],
Expand All @@ -67,7 +67,7 @@ const definition: WriterComponentDefinition = {
default: "0.25",
},
min: {
name: "Mininimum value",
name: "Minimum value",
type: FieldType.Number,
default: "0",
},
Expand All @@ -93,7 +93,7 @@ const definition: WriterComponentDefinition = {
},
events: {
"wf-click": {
desc: "Triggered when the avatar is clicked.",
desc: "Triggered when the progress bar is clicked.",
stub: clickHandlerStub.trim(),
},
},
Expand Down

0 comments on commit 0cb1365

Please sign in to comment.