Skip to content

Commit

Permalink
improve steps
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Mar 4, 2024
1 parent 101d792 commit c0a5369
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="streamfy",
version="0.2.4",
version="0.2.5",
author="",
author_email="",
description="",
Expand Down
9 changes: 5 additions & 4 deletions streamfy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,11 @@ def table(**kwargs):
progress(value=80)

st.subheader("Steps")
steps(steps=[
{"step": "1", "label": "First"},
{"step": "2", "label": "Second"}
])
step = steps(steps=[
{"value": "1", "step": "1", "label": "First"},
{"value": "2", "step": "2", "label": "Second"}
], default="0")
st.write(step)

st.subheader("Table")
columns = [
Expand Down
1 change: 0 additions & 1 deletion streamfy/frontend/src/Streamfy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@
v-for="(step, i) in args.steps" :key="i"
clickable
v-bind="step"
@click="click(args)"
>
{{step.text}}
</b-step-item>
Expand Down

0 comments on commit c0a5369

Please sign in to comment.