Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix typos #1447

Merged
merged 2 commits into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/pages/api-docs/data-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { DataGrid } from '@material-ui/data-grid';
| <span class="prop-name">autoHeight</span> | <span class="prop-type">boolean</span> | false | If `true`, the grid height is dynamic and follow the number of rows in the grid. |
| <span class="prop-name">autoPageSize</span> | <span class="prop-type">boolean</span> | false | If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar. |
| <span class="prop-name">checkboxSelection</span> | <span class="prop-type">boolean</span> | false | If `true`, the grid get a first column with a checkbox that allows to select rows. |
| <span class="prop-name">className</span> | <span class="prop-type">string</span> | | Css classname to add on the outer container. |
| <span class="prop-name">className</span> | <span class="prop-type">string</span> | | CSS classname to add on the outer container. |
| <span class="prop-name">columnBuffer</span> | <span class="prop-type">number</span> | 2 | Number of columns rendered outside the grid viewport. |
| <span class="prop-name">columnTypes</span> | <span class="prop-type">GridColumnTypesRecord</span> | | Extend native column types with your new column types. |
| <span class="prop-name">components</span> | <span class="prop-type">GridSlotsComponent</span> | | Overrideable components. |
| <span class="prop-name">componentsProps</span> | <span class="prop-type">GridSlotsComponentProps</span> | | Overrideable components props dynamic passed to the component at rendering. |
| <span class="prop-name">componentsProps</span> | <span class="prop-type">GridSlotsComponentsProps</span> | | Overrideable components props dynamically passed to the component at rendering. |
| <span class="prop-name">density</span> | <span class="prop-type">Density</span> | standard | Sets the density of the grid. |
| <span class="prop-name">disableColumnMenu</span> | <span class="prop-type">boolean</span> | false | If `true`, the column menu is disabled. |
| <span class="prop-name">disableColumnSelector</span> | <span class="prop-type">boolean</span> | false | If `true`, the column selector is disabled. |
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/api-docs/x-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { XGrid } from '@material-ui/x-grid';
| <span class="prop-name">autoHeight</span> | <span class="prop-type">boolean</span> | false | If `true`, the grid height is dynamic and follow the number of rows in the grid. |
| <span class="prop-name">autoPageSize</span> | <span class="prop-type">boolean</span> | false | If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar. |
| <span class="prop-name">checkboxSelection</span> | <span class="prop-type">boolean</span> | false | If `true`, the grid get a first column with a checkbox that allows to select rows. |
| <span class="prop-name">className</span> | <span class="prop-type">string</span> | | Css classname to add on the outer container. |
| <span class="prop-name">className</span> | <span class="prop-type">string</span> | | CSS classname to add on the outer container. |
| <span class="prop-name">columnBuffer</span> | <span class="prop-type">number</span> | 2 | Number of columns rendered outside the grid viewport. |
| <span class="prop-name">columnTypes</span> | <span class="prop-type">GridColumnTypesRecord</span> | | Extend native column types with your new column types. |
| <span class="prop-name">components</span> | <span class="prop-type">GridSlotsComponent</span> | | Overrideable components slots. |
| <span class="prop-name">componentsProps</span> | <span class="prop-type">GridSlotsComponentProps</span> | | Overrideable components props dynamic passed to the component at rendering. |
| <span class="prop-name">componentsProps</span> | <span class="prop-type">GridSlotsComponentsProps</span> | | Overrideable components props dynamically passed to the component at rendering. |
| <span class="prop-name">density</span> | <span class="prop-type">Density</span> | standard | Sets the density of the grid. |
| <span class="prop-name">disableColumnMenu</span> | <span class="prop-type">boolean</span> | false | If `true`, the column menu is disabled. |
| <span class="prop-name">disableColumnSelector</span> | <span class="prop-type">boolean</span> | false | If `true`, the column selector is disabled. |
Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/components/data-grid/overview/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ We provide three options:

- Built with and exclusively for React ⚛️
- High performance 🚀
- Lightweight; less than [30 kB](https://bundlephobia.com/result?p=@material-ui/data-grid) gzipped with as few dependencies as possible.
- [Filtering](/components/data-grid/filtering/) and [multi-filtering](/components/data-grid/filtering/#multi-column-filtering) <span class="pro"></span>
- [Pagination](/components/data-grid/pagination/)
- [Sorting](/components/data-grid/sorting) and [multi-sort](/components/data-grid/sorting/#multi-column-sorting) <span class="pro"></span>
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/_modules_/grid/GridComponentProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface GridComponentProps extends GridOptionsProp {
*/
components?: GridSlotsComponent;
/**
* Overrideable components props dynamic passed to the component at rendering.
* Overrideable components props dynamically passed to the component at rendering.
*/
componentsProps?: GridSlotsComponentsProps;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface GridComponentsApi {
*/
components: GridApiRefComponentsProperty;
/**
* Overrideable components props dynamic passed to the component at rendering.
* Overrideable components props dynamically passed to the component at rendering.
*/
componentsProps?: GridSlotsComponentsProps;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Overrideable components props dynamic passed to the component at rendering.
* Overrideable components props dynamically passed to the component at rendering.
*/
export interface GridSlotsComponentsProps {
columnMenu?: any;
Expand Down