You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/pages/api/autocomplete.md
+3-6
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,9 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
29
29
| <spanclass="prop-name">autoSelect</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the selected option becomes the value of the input when the Autocomplete loses focus unless the user chooses a different option or changes the character string in the input. |
30
30
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object</span> || Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
31
31
| <spanclass="prop-name">clearOnEscape</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, clear all values when the user presses escape and the popup is closed. |
32
+
| <spanclass="prop-name">clearText</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'Clear'</span> | Text label for the clear icon button. |
32
33
| <spanclass="prop-name">closeIcon</span> | <spanclass="prop-type">node</span> | <spanclass="prop-default"><CloseIcon fontSize="small" /></span> | The icon to display in place of the default close icon. |
34
+
| <spanclass="prop-name">closeText</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'Close'</span> | Text label for the close popup icon button. |
33
35
| <spanclass="prop-name">debug</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the popup will ignore the blur event if the input if filled. You can inspect the popup markup with your browser tools. Consider this option when you need to customize the component. |
34
36
| <spanclass="prop-name">defaultValue</span> | <spanclass="prop-type">any</span> || The default input value. Use when the component is not controlled. |
35
37
| <spanclass="prop-name">disableClearable</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, the input can't be cleared. |
@@ -57,21 +59,16 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
57
59
| <spanclass="prop-name">onInputChange</span> | <spanclass="prop-type">func</span> || Callback fired when the input value changes.<br><br>**Signature:**<br>`function(event: object, value: string) => void`<br>*event:* The event source of the callback.<br>*value:* null |
58
60
| <spanclass="prop-name">onOpen</span> | <spanclass="prop-type">func</span> || Callback fired when the popup requests to be opened. Use in controlled mode (see open).<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. |
59
61
| <spanclass="prop-name">open</span> | <spanclass="prop-type">bool</span> || Control the popup` open state. |
62
+
| <spanclass="prop-name">openText</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'Open'</span> | Text label for the open popup icon button. |
| <spanclass="prop-name">PaperComponent</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">Paper</span> | The component used to render the body of the popup. |
62
65
| <spanclass="prop-name">PopperComponent</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">Popper</span> | The component used to position the popup. |
63
66
| <spanclass="prop-name">popupIcon</span> | <spanclass="prop-type">node</span> | <spanclass="prop-default"><ArrowDropDownIcon /></span> | The icon to display in place of the default popup icon. |
64
67
| <spanclass="prop-name">renderGroup</span> | <spanclass="prop-type">func</span> || Render the group.<br><br>**Signature:**<br>`function(option: any) => ReactNode`<br>*option:* The group to render. |
| <spanclass="prop-name">renderOption</span> | <spanclass="prop-type">func</span> || Render the option, use `getOptionLabel` by default.<br><br>**Signature:**<br>`function(option: any, state: object) => ReactNode`<br>*option:* The option to render.<br>*state:* The state of the component. |
67
-
<<<<<<< HEAD
68
70
| <spanclass="prop-name">renderTags</span> | <spanclass="prop-type">func</span> || Render the selected value.<br><br>**Signature:**<br>`function(value: any, getTagProps: function) => ReactNode`<br>*value:* The `value` provided to the component.<br>*getTagProps:* A tag props getter. |
69
71
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The value of the autocomplete. |
70
-
=======
71
-
| <spanclass="prop-name">renderTags</span> | <spanclass="prop-type">func</span> || Render the selected value.<br><br>**Signature:**<br>`function(value: any) => ReactNode`<br>*value:* The `value` provided to the component. |
72
-
| <spanclass="prop-name">titles</span> | <spanclass="prop-type">{ clearPopup: string, closePopup: string, openPopup: string }</span> | <spanclass="prop-default">{ openPopup: 'Open popup', closePopup: 'Close popup', clearPopup: 'Clear',}</span> | Titles to display when hovering the arrow or clear buttons. |
73
-
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The input value. |
74
-
>>>>>>> Add new props to accept custom titles for Autocomplete buttons
Copy file name to clipboardexpand all lines: docs/pages/api/table-pagination.md
+2
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,14 @@ A `TableCell` based component for placing inside `TableFooter` for pagination.
26
26
|:-----|:-----|:--------|:------------|
27
27
| <spanclass="prop-name">ActionsComponent</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">TablePaginationActions</span> | The component used for displaying the actions. Either a string to use a DOM element or a component. |
28
28
| <spanclass="prop-name">backIconButtonProps</span> | <spanclass="prop-type">object</span> || Props applied to the back arrow [`IconButton`](/api/icon-button/) component. |
29
+
| <spanclass="prop-name">backIconButtonText</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'Previous page'</span> | Text label for the back arrow icon button. |
29
30
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object</span> || Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
30
31
| <spanclass="prop-name">component</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">TableCell</span> | The component used for the root node. Either a string to use a DOM element or a component. |
31
32
| <spanclass="prop-name required">count *</span> | <spanclass="prop-type">number</span> || The total number of rows. |
32
33
| <spanclass="prop-name">labelDisplayedRows</span> | <spanclass="prop-type">func</span> | <spanclass="prop-default">({ from, to, count }) =>`${from}-${to === -1 ? count : to} of ${count}`</span> | Customize the displayed rows label. |
33
34
| <spanclass="prop-name">labelRowsPerPage</span> | <spanclass="prop-type">node</span> | <spanclass="prop-default">'Rows per page:'</span> | Customize the rows per page label. Invoked with a `{ from, to, count, page }` object. |
34
35
| <spanclass="prop-name">nextIconButtonProps</span> | <spanclass="prop-type">object</span> || Props applied to the next arrow [`IconButton`](/api/icon-button/) element. |
36
+
| <spanclass="prop-name">nextIconButtonText</span> | <spanclass="prop-type">string</span> | <spanclass="prop-default">'Next page'</span> | Text label for the next arrow icon button. |
35
37
| <spanclass="prop-name required">onChangePage *</span> | <spanclass="prop-type">func</span> || Callback fired when the page is changed.<br><br>**Signature:**<br>`function(event: object, page: number) => void`<br>*event:* The event source of the callback.<br>*page:* The page selected. |
36
38
| <spanclass="prop-name">onChangeRowsPerPage</span> | <spanclass="prop-type">func</span> || Callback fired when the number of rows per page is changed.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. |
37
39
| <spanclass="prop-name required">page *</span> | <spanclass="prop-type">number</span> || The zero-based index of the current page. |
0 commit comments