Skip to content

Commit ff64327

Browse files
committed
fix api file and move KeyboardUtils outside folder
1 parent 84e6463 commit ff64327

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils/index.ts renamed to lib/components/Keyboard/KeyboardAccessoryView/KeyboardUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {useCallback, useEffect, useState} from 'react';
22
import {Keyboard, KeyboardEvent, Platform} from 'react-native';
3-
import TextInputKeyboardManager from '../TextInputKeyboardManager';
3+
import TextInputKeyboardManager from './TextInputKeyboardManager';
44

55
const IS_IOS = Platform.OS === 'ios';
66
const DEFAULT_KEYBOARD_HEIGHT = IS_IOS ? 216 : 312; // TODO: verify this value for iOS

lib/components/Keyboard/KeyboardAccessoryView/keyboardAccessoryView.api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "KeyboardAccessoryView",
33
"category": "infra",
44
"description": "View that allows replacing the default keyboard with other components",
5-
"note": "This view is useful only for iOS",
65
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardAccessory/KeyboardAccessoryViewScreen.js",
76
"images": [
87
"https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/KeyboardAccessoryView/KeyboardAccessoryView.gif?raw=true"
@@ -17,12 +16,13 @@
1716
"name": "kbInputRef",
1817
"type": "any",
1918
"description": "The reference to the actual text input (or the keyboard may not reset when instructed to, etc.)",
19+
"note": "iOS only",
2020
"required": true
2121
},
2222
{
2323
"name": "kbComponent",
2424
"type": "string",
25-
"description": "The keyboard ID (the componentID sent to KeyboardRegistry)"
25+
"description": "The keyboard ID (the componentID sent to KeyboardRegistry)",
2626
},
2727
{"name": "kbInitialProps", "type": "any", "description": "The props that will be sent to the KeyboardComponent"},
2828
{

0 commit comments

Comments
 (0)