Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
notunderctrl committed Nov 13, 2023
1 parent c5aa948 commit 26472d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/docs/pages/docs/buttonkit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const myButton = new ButtonKit()
myButton.onClick();
```

The first argument required by this function, is your handler function which will acknowledge button clicks (interactions) handled by ButtonKit. You can handle them like so:
The first argument required by this function is your handler function which will acknowledge button clicks (interactions) handled by ButtonKit. You can handle them like so:

```js
myButton.onClick((buttonInteraction) => {
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/pages/docs/using-signals.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Tabs, Callout } from 'nextra/components';

# Using Signals

<Callout type="warning">
This is currently only available in the [development
version](/docs/installation#development-version) of CommandKit.
</Callout>

# Using Signals

Signals are a way to add states and basic reactivity to your commands. It is similar to SolidJS signals.

## Creating a signal
Expand Down

0 comments on commit 26472d3

Please sign in to comment.