Skip to content

Commit

Permalink
chore: fix typos in docs (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
anubra266 authored Dec 28, 2024
1 parent 2af80ba commit 8d2f0bc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/anatomy-icons/scripts/generate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const svgCode = html`
`

/* -----------------------------------------------------------------------------
* Implmentation
* Implementation
* -----------------------------------------------------------------------------*/

function toDashCase(str) {
Expand Down
2 changes: 1 addition & 1 deletion website/data/components/context-menu.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Context Menu
description: Using the menu machine fo nested menus in your project.
description: Using the menu machine for nested menus in your project.
package: "@zag-js/menu"
slugAlias: "menu"
---
Expand Down
2 changes: 1 addition & 1 deletion website/data/components/nested-menu.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Nested Menu
description: Using the menu machine fo nested menus in your project.
description: Using the menu machine for nested menus in your project.
package: "@zag-js/menu"
slugAlias: "menu"
---
Expand Down
2 changes: 1 addition & 1 deletion website/data/components/number-input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The number input machine supports the scrubber interaction pattern. The use this
pattern, spread the `scrubberProps` from the `api` on to the scrubbing element.

It uses the Pointer lock API and tracks the pointer movement. It also renders a
virtual cursor which mimicks the real cursor's pointer.
virtual cursor which mimics the real cursor's pointer.

<CodeSnippet id="number-input/scrubber.mdx" />

Expand Down
2 changes: 1 addition & 1 deletion website/data/components/tags-input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const [state, send] = useMachine(

## Paste behavior

To add a tag when a arbritary value is pasted in the input element, pass the
To add a tag when a arbitrary value is pasted in the input element, pass the
`addOnPaste` option.

When a value is pasted, the machine will:
Expand Down
2 changes: 1 addition & 1 deletion website/data/overview/programmatic-control.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ we allow users pass it directly into the `machine` function.
> can't be updated later on. Keep reading to see how to update it.
For example, if you want an accordion to start with a specific selected value.
Here's how to acheive that:
Here's how to achieve that:

```jsx
const [state, send] = useMachine(
Expand Down

0 comments on commit 8d2f0bc

Please sign in to comment.