Skip to content

Commit

Permalink
accordion doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Jul 27, 2024
1 parent cfc293d commit 0320f66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions sites/docs/src/lib/content/api-reference/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,7 @@ const item = createApiSchema<AccordionItemPropsWithoutHTML>({
const trigger = createApiSchema<AccordionTriggerPropsWithoutHTML>({
title: "Trigger",
description: "The button responsible for toggling the accordion item.",
props: {
disabled: createBooleanProp({
description: "Whether or not the accordion item trigger is disabled.",
default: C.FALSE,
}),
...withChildProps({ elType: "HTMLButtonElement" }),
},
props: withChildProps({ elType: "HTMLButtonElement" }),
});

const content = createApiSchema<AccordionContentPropsWithoutHTML>({
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/src/lib/content/api-reference/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export const escapeLayerProps = {

export const forceMountProp = createBooleanProp({
description:
"Whether or not to forcefully mount the content. This is useful if you want to use Svelte transitions or another animnation library for the content.",
"Whether or not to forcefully mount the content. This is useful if you want to use Svelte transitions or another animation library for the content.",
default: C.FALSE,
});

Expand Down

0 comments on commit 0320f66

Please sign in to comment.