Skip to content

Commit b03eecd

Browse files
Update broken code-example link for some components in the docs (#2052)
1 parent 671a072 commit b03eecd

File tree

18 files changed

+18
-18
lines changed

18 files changed

+18
-18
lines changed

lib/components/Keyboard/KeyboardInput/KeyboardAccessoryView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export type KeyboardAccessoryViewProps = kbTrackingViewProps & {
6464

6565
/**
6666
* @description: View that allows replacing the default keyboard with other components
67-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardInput/KeyboardInputViewScreen.js
67+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardAccessory/KeyboardAccessoryViewScreen.js
6868
* @gif: https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/KeyboardAccessoryView/KeyboardAccessoryView.gif?raw=true
6969
*/
7070
class KeyboardAccessoryView extends Component<KeyboardAccessoryViewProps> {

lib/components/Keyboard/KeyboardInput/KeyboardRegistry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const getKeyboardsWithIDs = (keyboardIDs: string[]) => {
1717

1818
/**
1919
* @description: used for registering keyboards and performing certain actions on the keyboards.
20-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardInput/demoKeyboards.js
20+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardAccessory/demoKeyboards.js
2121
*/
2222
export default class KeyboardRegistry {
2323
static displayName = 'KeyboardRegistry';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "KeyboardAccessoryView",
33
"category": "keyboard",
44
"description": "View that allows replacing the default keyboard with other components",
5-
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardInput/KeyboardInputViewScreen.js",
5+
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardAccessory/KeyboardAccessoryViewScreen.js",
66
"images": [
77
"https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/KeyboardAccessoryView/KeyboardAccessoryView.gif?raw=true"
88
],

lib/components/Keyboard/KeyboardInput/keyboardRegistry.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "KeyboardRegistry",
33
"category": "keyboard",
44
"description": "used for registering keyboards and performing certain actions on the keyboards.",
5-
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardInput/demoKeyboards.js",
5+
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/nativeComponentScreens/keyboardAccessory/demoKeyboards.js",
66
"props": [
77
{
88
"name": "registerKeyboard",

src/components/chipsInput/chipsInput.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Chips input component",
55
"extends": ["incubator/TextField"],
66
"modifiers": ["typography"],
7-
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ChipsInputScreen.js",
7+
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ChipsInputScreen.tsx",
88
"images": ["https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/ChipsInput/ChipsInput.gif?raw=true"],
99
"props": [
1010
{

src/components/dateTimePicker/dateTimePicker.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Date and Time Picker Component that wraps RNDateTimePicker for date and time modes. See: https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker",
55
"note": "DateTimePicker uses a native library. You MUST add and link the native library to both iOS and Android projects",
66
"extends": ["incubator/TextField"],
7-
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/DateTimePickerScreen.js",
7+
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/DateTimePickerScreen.tsx",
88
"images": [
99
"https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/DateTimePicker/DateTimePicker_iOS.gif?raw=true, https://github.com/wix/react-native-ui-lib/blob/master/demo/showcase/DateTimePicker/DateTimePicker_Android.gif?raw=true"
1010
],

src/components/dateTimePicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MODES = {
1919
/*eslint-disable*/
2020
/**
2121
* @description: Date and Time Picker Component that wraps RNDateTimePicker for date and time modes.
22-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/DateTimePickerScreen.js
22+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/DateTimePickerScreen.tsx
2323
* @important: DateTimePicker uses a native library. You MUST add and link the native library to both iOS and Android projects.
2424
* @extends: TextField, react-native-community/datetimepicker
2525
* @extendsLink: https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker

src/components/maskedInput/maskedInput.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Mask Input to create custom looking inputs with custom formats",
55
"extends": ["TextInput"],
66
"extendsLink": ["https://reactnative.dev/docs/textinput"],
7-
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/MaskedInputScreen.js",
7+
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/MaskedInputScreen.tsx",
88
"images": [
99
"https://camo.githubusercontent.com/61eedb65e968845d5eac713dcd21a69691571fb1/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4b5a5a7446666f486f454b334b2f67697068792e676966"
1010
],

src/components/maskedInput/new.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface MaskedInputProps extends Omit<TextInputProps, 'value'> {
3636
/**
3737
* @description: Mask Input to create custom looking inputs with custom formats
3838
* @gif: https://camo.githubusercontent.com/61eedb65e968845d5eac713dcd21a69691571fb1/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4b5a5a7446666f486f454b334b2f67697068792e676966
39-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/MaskedInputScreen.js
39+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/MaskedInputScreen.tsx
4040
*/
4141
function MaskedInput(props: MaskedInputProps, ref: ForwardedRef<any>) {
4242
const {initialValue, formatter = _.identity, containerStyle, renderMaskedText, onChangeText, ...others} = props;

src/components/maskedInput/old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import TouchableOpacity from '../touchableOpacity';
1111
/**
1212
* @description: Mask Input to create custom looking inputs with custom formats
1313
* @gif: https://camo.githubusercontent.com/61eedb65e968845d5eac713dcd21a69691571fb1/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4b5a5a7446666f486f454b334b2f67697068792e676966
14-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/MaskedInputScreen.js
14+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/MaskedInputScreen.tsx
1515
*/
1616
export default class MaskedInput extends BaseInput {
1717
static displayName = 'MaskedInput';

0 commit comments

Comments
 (0)