Skip to content

Commit

Permalink
Sort props alphabetically in generated props json
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Dec 12, 2024
1 parent 17dac42 commit d0e455c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/buildApiDocs/buildReference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function buildReference() {
const json: ComponentDef = {
name: componentData.name,
description: descriptionData.componentDescription,
props,
props: Object.fromEntries(Object.entries(props).sort()),
dataAttributes,
cssVariables,
};
Expand Down

0 comments on commit d0e455c

Please sign in to comment.