Skip to content

Commit

Permalink
docs: add missing isDragDisabled API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Nov 21, 2024
1 parent 081915f commit 6d59fc3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions apps/docs/pages/docs/api-reference/components/drawer-item.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ export function Editor() {

## Props

| Prop | Example | Type | Status |
| ----------------------- | ------------------------- | -------- | -------- |
| [`name`](#name) | `name: "Orange"` | String | Required |
| [`children`](#children) | `children: () => <div />` | Function | - |
| [`id`](#id) | `id: "OrangeComponent"` | String | - |
| Prop | Example | Type | Status |
| ----------------------------------- | ------------------------- | -------- | -------- |
| [`name`](#name) | `name: "Orange"` | String | Required |
| [`children`](#children) | `children: () => <div />` | Function | - |
| [`id`](#id) | `id: "OrangeComponent"` | String | - |
| [`isDragDisabled`](#isdragdisabled) | `isDragDisabled: false` | Boolean | - |

## Required props

Expand Down Expand Up @@ -83,3 +84,7 @@ The original node for the drawer item.
A unique id for this drawer item. Defaults to the value of [`name`](#name).

If using the `<Drawer>` as a component list to be dragged into `<Puck.Preview>`, this should be the key of a component defined in the [Config](/docs/api-reference/configuration/config).

### `isDragDisabled`

Whether or not this item is disabled.

0 comments on commit 6d59fc3

Please sign in to comment.