Skip to content

Commit 6535f87

Browse files
authored
Fix broken example screens links (#1146)
* Fix broken example screens links * Update generatedTypes
1 parent 0a65eef commit 6535f87

File tree

27 files changed

+27
-27
lines changed

27 files changed

+27
-27
lines changed

generatedTypes/components/actionBar/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ButtonProps } from '../button';
55
* @description: Quick actions bar, each action support Button component props
66
* @modifiers: margin, padding
77
* @gif: https://media.giphy.com/media/xULW8DwxkniFDMw7TO/giphy.gif
8-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ActionBarScreen.js
8+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ActionBarScreen.tsx
99
*/
1010
export declare type ActionBarProps = {
1111
/**

generatedTypes/components/avatar/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export declare type AvatarPropTypes = AvatarProps;
115115
* @extendsnotes: (when passing onPress)
116116
* @extendslink: docs/TouchableOpacity
117117
* @image: https://user-images.githubusercontent.com/33805983/34480603-197d7f64-efb6-11e7-9feb-db8ba756f055.png
118-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/AvatarsScreen.js
118+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/AvatarsScreen.tsx
119119
*/
120120
declare class Avatar extends PureComponent<AvatarProps> {
121121
styles: ReturnType<typeof createStyles>;

generatedTypes/components/badge/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export declare type BadgeProps = ViewProps & TouchableOpacityProps & {
8282
* @extends: Animatable.View
8383
* @extendslink: https://github.com/oblador/react-native-animatable
8484
* @image: https://user-images.githubusercontent.com/33805983/34480753-df7a868a-efb6-11e7-9072-80f5c110a4f3.png
85-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/BadgesScreen.js
85+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/BadgesScreen.tsx
8686
*/
8787
declare class Badge extends PureComponent<BadgeProps> {
8888
styles: ReturnType<typeof createStyles>;

generatedTypes/components/carousel/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ declare type DefaultProps = Partial<CarouselProps>;
66
/**
77
* @description: Carousel for scrolling pages horizontally
88
* @gif: https://media.giphy.com/media/l0HU7f8gjpRlMRhKw/giphy.gif, https://media.giphy.com/media/3oFzmcjX9OhpyckhcQ/giphy.gif
9-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CarouselScreen.js
9+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CarouselScreen.tsx
1010
* @extends: ScrollView
1111
* @extendsLink: https://facebook.github.io/react-native/docs/scrollview
1212
* @notes: This is screed width Component

generatedTypes/components/modal/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface ModalProps extends RNModalProps {
3434
* @extends: Modal
3535
* @extendslink: https://facebook.github.io/react-native/docs/modal.html
3636
* @gif: https://media.giphy.com/media/3oFzmfSX8KgvctI4Ks/giphy.gif
37-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ModalScreen.js
37+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ModalScreen.tsx
3838
*/
3939
declare class Modal extends Component<ModalProps> {
4040
static displayName: string;

generatedTypes/components/tabController/PageCarousel.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import _ from 'lodash';
33
import Animated from 'react-native-reanimated';
44
/**
55
* @description: TabController's Page Carousel
6-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
6+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
77
* @notes: You must pass `asCarousel` flag to TabController and render your TabPages inside a PageCarousel
88
*/
99
declare class PageCarousel extends PureComponent {

generatedTypes/components/tabController/TabBarItem.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ interface Props extends TabControllerItemProps {
9090
}
9191
/**
9292
* @description: TabController's TabBarItem
93-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
93+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
9494
* @notes: Must be rendered as a direct child of TabController.TabBar.
9595
*/
9696
export default class TabBarItem extends PureComponent<Props> {

generatedTypes/components/tabController/TabPage.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface TabControllerPageProps {
2525
}
2626
/**
2727
* @description: TabController's TabPage
28-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
28+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
2929
*/
3030
export default class TabPage extends PureComponent<TabControllerPageProps> {
3131
static displayName: string;

generatedTypes/components/tabController/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ interface StateProps {
4343
}
4444
/**
4545
* @description: A performant solution for a tab controller with lazy load mechanism
46-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
46+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
4747
* @notes: This component is based on react-native-gesture-handler
4848
* @important: On Android, if using react-native-navigation, make sure to wrap your screen with gestureHandlerRootHOC
4949
* @importantLink: https://kmagiera.github.io/react-native-gesture-handler/docs/getting-started.html#with-wix-react-native-navigation-https-githubcom-wix-react-native-navigation

src/components/actionBar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Button, {ButtonProps} from '../button';
1010
* @description: Quick actions bar, each action support Button component props
1111
* @modifiers: margin, padding
1212
* @gif: https://media.giphy.com/media/xULW8DwxkniFDMw7TO/giphy.gif
13-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ActionBarScreen.js
13+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ActionBarScreen.tsx
1414
*/
1515

1616
export type ActionBarProps = {

src/components/avatar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export type AvatarPropTypes = AvatarProps; //TODO: remove after ComponentPropTyp
145145
* @extendsnotes: (when passing onPress)
146146
* @extendslink: docs/TouchableOpacity
147147
* @image: https://user-images.githubusercontent.com/33805983/34480603-197d7f64-efb6-11e7-9feb-db8ba756f055.png
148-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/AvatarsScreen.js
148+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/AvatarsScreen.tsx
149149
*/
150150
class Avatar extends PureComponent<AvatarProps> {
151151
styles: ReturnType<typeof createStyles>;

src/components/badge/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export type BadgeProps = ViewProps &
107107
* @extends: Animatable.View
108108
* @extendslink: https://github.com/oblador/react-native-animatable
109109
* @image: https://user-images.githubusercontent.com/33805983/34480753-df7a868a-efb6-11e7-9072-80f5c110a4f3.png
110-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/BadgesScreen.js
110+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/BadgesScreen.tsx
111111
*/
112112
class Badge extends PureComponent<BadgeProps> {
113113
styles: ReturnType<typeof createStyles>;

src/components/card/CardImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type Props = CardImageProps & asCardChildProps;
3838

3939
/**
4040
* @description: Card.Image, part of the Card component belongs inside a Card (better be a direct child)
41-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.js
41+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.tsx
4242
*/
4343
class CardImage extends PureComponent<Props> {
4444
static displayName = 'Card.Image';

src/components/card/CardSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type Props = CardSectionProps & asCardChildProps;
5151

5252
/**
5353
* @description: Card.Section for rendering content easily inside a card
54-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.js
54+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.tsx
5555
*/
5656
class CardSection extends PureComponent<Props> {
5757
static displayName = 'Card.Section';

src/components/card/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ type State = {
107107
* @extendslink: docs/TouchableOpacity
108108
* @modifiers: margin, padding
109109
* @gif: https://media.giphy.com/media/l0HU9SKWmv0VTOYMM/giphy.gif
110-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.js
110+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardsScreen.tsx
111111
*/
112112
class Card extends PureComponent<PropTypes, State> {
113113
static displayName = 'Card';

src/components/carousel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type DefaultProps = Partial<CarouselProps>
1616
/**
1717
* @description: Carousel for scrolling pages horizontally
1818
* @gif: https://media.giphy.com/media/l0HU7f8gjpRlMRhKw/giphy.gif, https://media.giphy.com/media/3oFzmcjX9OhpyckhcQ/giphy.gif
19-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CarouselScreen.js
19+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CarouselScreen.tsx
2020
* @extends: ScrollView
2121
* @extendsLink: https://facebook.github.io/react-native/docs/scrollview
2222
* @notes: This is screed width Component

src/components/floatingButton/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const gradientImage = () => require('./gradient.png');
4747
/**
4848
* @description: Hovering button with gradient background
4949
* @modifiers: margin, background, color
50-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/FloatingButtonScreen.js
50+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/FloatingButtonScreen.tsx
5151
* @extends: Button
5252
* @extendsLink: https://github.com/wix/react-native-ui-lib/blob/master/src/components/button/index.js
5353
*/

src/components/modal/TopBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const DEFAULT_BUTTON_PROPS = {
7070

7171
/**
7272
* @description: Modal.TopBar, inner component for configuring the Modal component's title, buttons and statusBar
73-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ModalScreen.js
73+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ModalScreen.tsx
7474
*/
7575
class TopBar extends Component<ModalTopBarProps> {
7676
static displayName = 'Modal.TopBar';

src/components/modal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface ModalProps extends RNModalProps {
4141
* @extends: Modal
4242
* @extendslink: https://facebook.github.io/react-native/docs/modal.html
4343
* @gif: https://media.giphy.com/media/3oFzmfSX8KgvctI4Ks/giphy.gif
44-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ModalScreen.js
44+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ModalScreen.tsx
4545
*/
4646
class Modal extends Component<ModalProps> {
4747
static displayName = 'Modal';

src/components/pageControl/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ interface State {
9090
/**
9191
* @description: Page indicator, typically used in paged scroll-views
9292
* @image: https://user-images.githubusercontent.com/33805983/34663655-76698110-f460-11e7-854b-243d27f66fec.png
93-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PageControlScreen.js
93+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PageControlScreen.tsx
9494
*/
9595
class PageControl extends PureComponent<PageControlProps, State> {
9696
static displayName = 'PageControl';

src/components/panningViews/panListenerView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const DEFAULT_SWIPE_VELOCITY = 1.8;
9494

9595
/**
9696
* @description: PanListenerView component created to making listening to swipe and drag events easier
97-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PanListenerScreen.js
97+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PanListenerScreen.tsx
9898
*/
9999
class PanListenerView extends PureComponent<Props> {
100100
static displayName = 'PanListenerView';

src/components/panningViews/panResponderView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface Props extends PanResponderViewProps {
3434
* @description: panResponderView component created to making listening to swipe and drag events easier.
3535
* @notes: Has to be used as a child of a PanningProvider that also has a PanListenerView.
3636
* The PanListenerView is the one that sends the drag\swipe events.
37-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PanResponderScreen.js
37+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/PanResponderScreen.tsx
3838
*/
3939
class PanResponderView extends PureComponent<Props> {
4040
static displayName = 'PanResponderView';

src/components/tabController/PageCarousel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const {Code, block, call} = Animated;
88

99
/**
1010
* @description: TabController's Page Carousel
11-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
11+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
1212
* @notes: You must pass `asCarousel` flag to TabController and render your TabPages inside a PageCarousel
1313
*/
1414
class PageCarousel extends PureComponent {

src/components/tabController/TabBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ interface Props extends TabControllerBarProps, BaseComponentInjectedProps, Forwa
122122

123123
/**
124124
* @description: TabController's TabBar component
125-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
125+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
126126
*/
127127
const TabBar = (props: Props) => {
128128
const {

src/components/tabController/TabBarItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ interface Props extends TabControllerItemProps {
104104

105105
/**
106106
* @description: TabController's TabBarItem
107-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
107+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
108108
* @notes: Must be rendered as a direct child of TabController.TabBar.
109109
*/
110110
export default class TabBarItem extends PureComponent<Props> {

src/components/tabController/TabPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface TabControllerPageProps {
3232

3333
/**
3434
* @description: TabController's TabPage
35-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
35+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
3636
*/
3737
export default class TabPage extends PureComponent<TabControllerPageProps> {
3838
static displayName = 'TabController.TabPage';

src/components/tabController/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ interface StateProps {
8080

8181
/**
8282
* @description: A performant solution for a tab controller with lazy load mechanism
83-
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.js
83+
* @example: https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
8484
* @notes: This component is based on react-native-gesture-handler
8585
* @important: On Android, if using react-native-navigation, make sure to wrap your screen with gestureHandlerRootHOC
8686
* @importantLink: https://kmagiera.github.io/react-native-gesture-handler/docs/getting-started.html#with-wix-react-native-navigation-https-githubcom-wix-react-native-navigation

0 commit comments

Comments
 (0)