Skip to content

Commit c4e5eaa

Browse files
147 docs add permit example documentation (#473)
* Add example image * Minor markdown cleanup
1 parent 478bed0 commit c4e5eaa

File tree

13 files changed

+34
-22
lines changed

13 files changed

+34
-22
lines changed

examples/computed-form-fields/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ const computeFieldValue = (numberOfFish, species) => {
9494
};
9595
```
9696
97+
## Computed Form Fields Example Preview
9798
98-
99-
# Computed Form Fields Example Preview
100-
![Computed Form Fields](./src/assets//computed-form-fields.png)
99+
![Computed Form Fields](./src/assets/computed-form-fields.png)

examples/conditional-form-fields/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ const ConditionalForm = () => {
105105
/>
106106
```
107107

108-
# Conditional Form Fields Example Preview
109-
![Conditional Form Fields](./src/assets/conditional-form-fields.png)
108+
## Conditional Form Fields Example Preview
110109

110+
![Conditional Form Fields](./src/assets/conditional-form-fields.png)

examples/field-validators/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@ import { fullNameValidators } from "../utilities/fieldValidators";
6767
}
6868
```
6969

70-
# Field Validators Example Preview
71-
![Field Validators](./src/assets/field-validators.png)
70+
## Field Validators Example Preview
71+
72+
![Field Validators](./src/assets/field-validators.png)

examples/form-structure/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,7 @@ The form does include two additional examples.
9595
setResetToggle(true)
9696
}
9797
```
98+
99+
## Form Structure Example Preview
100+
101+
![Form Structure](./src/assets/form-structure.png)
155 KB
Loading

examples/mock-api/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,6 @@ const { data } = await postRequestWithFetch(MSW_ENDPOINT.SPECIES, {
176176
});
177177
```
178178

179-
# Mock API Example Preview
180-
![Mock API](./src/assets/mock-api.png)
179+
## Mock API Example Preview
180+
181+
![Mock API](./src/assets/mock-api.png)

examples/multistep-form/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,6 @@ useEffect(() => {
126126
}
127127
```
128128

129-
# Multistep Form Example Preview
130-
![Multistep Form](./src/assets/multistep.png)
129+
## Multistep Form Example Preview
130+
131+
![Multistep Form](./src/assets/multistep.png)

examples/network-status/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ Learn more about RADFish examples at the official [documentation](https://nmfs-r
2929
}, [isOffline]);
3030
```
3131

32-
# Network Status Example Preview
33-
![Network Status](./src/assets/network-status.png)
32+
## Network Status Example Preview
33+
34+
![Network Status](./src/assets/network-status.png)

examples/on-device-storage/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@ The `useOfflineStorage` hook returns an object with the following methods:
7979
- Returns a promise that resolves to the updated data as an object:
8080
`{ numberOfFish: 10, species: salmon }`
8181

82-
# On-Device Storage Example Preview
83-
![On-Device Storage](./src/assets/on-device-storage.png)
82+
## On-Device Storage Example Preview
83+
84+
![On-Device Storage](./src/assets/on-device-storage.png)

examples/persisted-form/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,6 @@ return (
116116

117117
4. Construct your form using the `react-radfish` components. See the `/src/pages/Form.jsx` file to see how to construct the form and use the methods available from `FormWrapper`.
118118

119-
# Persisted Form Example Preview
119+
## Persisted Form Example Preview
120+
120121
![Persisted Form](./src/assets/persisted-form.png)

0 commit comments

Comments
 (0)