Skip to content

Commit 800e80b

Browse files
committed
update docs
1 parent 8f25cc0 commit 800e80b

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
},
2323
"[scss]": {
2424
"editor.defaultFormatter": "vscode.css-language-features"
25+
},
26+
"files.associations": {
27+
"*.mdx": "markdown"
2528
}
2629
}

docs/src/app/Intro.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ React Multi Page Form seamlessly integrates into the React ecosystem by focusing
1919
- **Streamline Long Forms:** Skip unnecessary pages dynamically based on user inputs.
2020
- **Easy Testing:** Quickly see the list of pages used for any set of data, and render all pages at once.
2121
- **Simplified Navigation:** Implement next and previous buttons effortlessly.
22-
- **Dynamic Form Testing:** Quickly test and determine which forms are displayed to users depending on their selections.
2322
- **Resume Functionality:** Enable users to pick up where they left off, improving completion rates.
2423
- **Composable Workflows:** Combine multiple workflows into a single cohesive process, promoting reusability and modularity in form management.
2524
- **Great for AI:** Clear separation of concerns makes it easy for AI to generate the first draft of your sequences and forms.

docs/src/app/docs/api/page.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export function MyMultiPageForm() {
126126
const {
127127
currentPage, // the current page object
128128
advance, // goes to the next page
129+
advanceToNextIncomplete, // advances, skipping pages that are complete
129130
goBack, // goes back one page
130131
goTo, // goes to a page by id
131132
isFinal, // if this is the last page

package.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"version": "0.1.2",
44
"description": "Tools to handle multi-page forms",
55
"main": "dist/index.js",
6-
"files": [
7-
"dist"
8-
],
6+
"files": ["dist"],
97
"scripts": {
108
"build": "tsc",
119
"build:watch": "tsc -w",
@@ -16,10 +14,7 @@
1614
"test": "jest",
1715
"test:watch": "jest --watch"
1816
},
19-
"keywords": [
20-
"forms",
21-
"multi-page"
22-
],
17+
"keywords": ["forms", "multi-page"],
2318
"author": "Stu Kabakoff",
2419
"license": "MIT",
2520
"devDependencies": {

0 commit comments

Comments
 (0)