Skip to content

Commit 1712b14

Browse files
authored
[no ci] code review
1 parent 80fb439 commit 1712b14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/Buttons.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ Alternately, pass a `successMessage` prop:
114114

115115
### Access Control
116116

117-
If your `authProvider` implements [Access Control](./Permissions.md#access-control), `<DeleteButton>` will only render if the user has the "delete" access to the related resource.
117+
If your `authProvider` implements [Access Control](./Permissions.md#access-control), `<BulkDeleteButton>` will only render if the user has the "delete" access to the related resource.
118118

119-
`<DeleteButton>` will call `authProvider.canAccess()` using the following parameters:
119+
`<BulkDeleteButton>` will call `authProvider.canAccess()` using the following parameters:
120120

121121
```txt
122-
{ action: "delete", resource: [current resource], record: [current record] }
122+
{ action: "delete", resource: [current resource] }
123123
```
124124

125125
### Soft Delete

0 commit comments

Comments
 (0)