Skip to content

Commit e9090fa

Browse files
committed
Fixes a couple typos
1 parent 79db03f commit e9090fa

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/module/patternfly-docs/content/extensions/data-view/about-data-view.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { useDataViewEventsContext, DataViewEventsContext, DataViewEventsProvider
1919

2020
**Note:** Data view lives in its own package [`@patternfly/react-data-view`](https://www.npmjs.com/package/@patternfly/react-data-view)
2121

22-
If you notice a bug, or if have a suggestion for improving the data view extension or its documentation, file an issue in [the react-data-view repository](https://github.com/patternfly/react-data-view/issues)! Before creating a new issue, make sure there is not already a pre-existing issue.
22+
If you notice a bug, or if you have a suggestion for improving the data view extension or its documentation, file an issue in [the react-data-view repository](https://github.com/patternfly/react-data-view/issues)! Before creating a new issue, make sure there is not already a pre-existing issue.
2323

2424
## Basic data view
2525

@@ -96,7 +96,7 @@ This example includes the following:
9696
- An optional `searchParams` object
9797
- An optional `setSearchParams` function
9898

99-
- While the hook works seamlessly with React Router library, you do not need to use it to take advantage of URL persistence. The `searchParams` and `setSearchParams` props can be managed using native browser APIs (`URLSearchParams` and `window.history.pushState`) or any other routing library of your choice. If you don't pass these two props, the pagination state will be stored internally without the URL usage.
99+
- While the hook works seamlessly with the React Router library, you do not need to use it to take advantage of URL persistence. The `searchParams` and `setSearchParams` props can be managed using native browser APIs (`URLSearchParams` and `window.history.pushState`) or any other routing library of your choice. If you don't pass these two props, the pagination state will be stored internally without the URL usage.
100100

101101
You can also pass custom `pageParam` or `perPageParam` names, renaming the pagination parameters in the URL.
102102

@@ -118,7 +118,7 @@ A basic data view table supports various customizations of the table head and bo
118118

119119
The `<DataViewTable>` component accepts the following props:
120120

121-
- `columns`: Defines the columns the table. Each item in the array can be a `ReactNode` (for simple heads) or an object with the following properties:
121+
- `columns`: Defines the columns of the table. Each item in the array can be a `ReactNode` (for simple heads) or an object with the following properties:
122122
- `cell` (`ReactNode`): Content to display in the column head
123123
- Optional `props` (`ThProps`) to pass to the `<Th>` component, such as `width`, `sort`, and other table head cell properties.
124124

@@ -197,5 +197,4 @@ This example illustrates how to set up a layout that listens for row click event
197197

198198
```js file="./EventsExample.tsx"
199199

200-
```
201-
200+
```

0 commit comments

Comments
 (0)