Skip to content

Commit 3ca0080

Browse files
authored
Merge pull request #412 from devforth/docs-for-clone-row-plugin
docs: add docs for clone row plugin
2 parents 1f8f5b7 + dc42063 commit 3ca0080

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
File renamed without changes.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Clone row
2+
3+
Allows to create a copy of record quickly, by substituting default values to create form
4+
5+
6+
## Instalation
7+
8+
To install the plugin:
9+
10+
```bash
11+
npm install @adminforth/clone-row --save
12+
```
13+
14+
## Setting up
15+
16+
To setup the plugin just add it to your resource:
17+
18+
```ts .title="./resources/apartments.ts"
19+
import CloneRow from "@adminforth/CloneRow";
20+
21+
...
22+
23+
plugins: [
24+
25+
...
26+
//diff-add
27+
new CloneRow({}),
28+
...
29+
30+
]
31+
```
32+

0 commit comments

Comments
 (0)