Skip to content

Commit 35771a6

Browse files
committed
Update update.mdx
1 parent 0d935a6 commit 35771a6

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

content/components/update.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ icon: "rectangle-history"
66

77
The `Update` component is used to keep track of changes and updates.
88

9-
<Update label="2024-10-12" description="v0.1.1">
9+
<Update label="2024-10-12" description="v0.1.1" tags={["Filter 1"]}>
1010
<Frame>
1111
<img
1212
className="block"
@@ -23,14 +23,14 @@ The `Update` component is used to keep track of changes and updates.
2323
- Sticky section for each changelog
2424
</Update>
2525

26-
<Update label="2024-10-11" description="v0.1.0">
26+
<Update label="2024-10-11" description="v0.1.0" tags={["Filter 2"]}>
2727
### How to use
2828
```md
29-
<Update label="2024-10-12" description="v0.1.1">
29+
<Update label="2024-10-12" description="v0.1.1" tags={["Filter 1"]}>
3030
This is how you use a changelog with a label
3131
and a description.
3232
</Update>
33-
<Update label="2024-10-11" description="v0.1.0">
33+
<Update label="2024-10-11" description="v0.1.0" tags={["Filter 2"]}>
3434
This is how you use a changelog with a label
3535
and a description.
3636
</Update>
@@ -46,14 +46,16 @@ The `Update` component is used to keep track of changes and updates.
4646
## Props
4747

4848
<ResponseField name="label" type="string" required>
49-
Label in the changelog, on the sticky left side.
49+
The label give to the update, appears as sticky text to the left of the changelog.
5050
</ResponseField>
5151

52-
<ResponseField name="description" type="string">
53-
Description below the label in the Changelog preview.
52+
<ResponseField name="tags" type="string[]">
53+
Tags for the changelog, will be shown as filters in the right side panel.
5454
</ResponseField>
5555

56-
<ResponseField name="tags" type="string[]">
57-
Tags for the changelog, will be show as filters in the right side panel
56+
<ResponseField name="description" type="string">
57+
Description of the update, appears below the label and tag.
5858
</ResponseField>
5959

60+
61+

0 commit comments

Comments
 (0)