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: packages/chakra-ui-docs/pages/editable.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ props. Here are the custom props:
103
103
| onCancel |`string`|| Callback invoked when user cancels input with the `Esc` key. It provides the last confirmed value as argument. |
104
104
| onSubmit |`string`|| Callback invoked when user confirms value with `enter` key or by blurring the input. |
105
105
| onEdit |`string`|| Callback invoked once the user enters edit mode. |
106
-
| isPreviewFocusable |`boolean`|`true`| If `true`, the read only view, has a `tabIndex` set to `0` so it can recieve focus via the keyboard or click. |
106
+
| isPreviewFocusable |`boolean`|`true`| If `true`, the read only view, has a `tabIndex` set to `0` so it can receive focus via the keyboard or click. |
107
107
| startWithEditView |`boolean`|| If `true`, the Editable will start with edit mode by default. |
108
108
| submitOnBlur |`boolean`|`true`| If `true`, it'll update the value onBlur and turn off the edit mode. |
109
109
| selectAllOnFocus |`boolean`|`true`| If `true`, the input's text will be highlighted on focus. |
Copy file name to clipboardExpand all lines: packages/chakra-ui-docs/pages/tabs.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ function Example() {
212
212
}
213
213
```
214
214
215
-
### Make a tab initally active
215
+
### Make a tab initially active
216
216
217
217
If you want a tab to be initially active, simply pass the `defaultIndex` prop
218
218
and set it to the index of that tab.
@@ -277,7 +277,7 @@ arrow keys to change tabs, the tab is activated and focused.
277
277
> keyboard and screen reader users.
278
278
279
279
In this scenario, you should use a manually activated tab, it moves focus
280
-
without activating the tabs. With focus on a specifc tab, users can activate a
280
+
without activating the tabs. With focus on a specific tab, users can activate a
281
281
tab by pressing <kbd>Space</kbd> or <kbd>Enter</kbd>.
282
282
283
283
```jsx
@@ -461,7 +461,7 @@ Tabs composes `Box` so you call pass all `Box` related props.
461
461
| `onChange` | `(index: number) => void` | | The callback to update the active tab index. |
462
462
| `index` | `number` | | The controlled index of the tabs. |
463
463
| `defaultIndex` | `number` | | The index of the initial active tab. |
464
-
| `isManual` | `boolean` | | If `true`, keyboard navigation changes focus between tabs but doens't activate it. User will have to press `Enter` to active it |
464
+
| `isManual` | `boolean` | | If `true`, keyboard navigation changes focus between tabs but doesn't activate it. User will have to press `Enter` to active it |
465
465
|`children`|`React.ReactNode`|| The children of the switch. |
466
466
| `variant` | `line`,`enclosed`,`enclosed-colored`, `soft-rounded`, `solid-rounded`, `unstyled` | `line` | The visual style of the tab. |
467
467
| `variantColor` | `string` | | The primary color to use for the selected variant. Use a color key in `theme.colors` |
0 commit comments