Skip to content

Commit f8d3f94

Browse files
committed
Fix lint warnings
1 parent 5c1a796 commit f8d3f94

9 files changed

+22
-22
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center"><a href="https://reactnavigation.org/"> <img src="static/img/react_navigation_header.png" width="400" /> </a></h1>
1+
<h1 align="center"><a href="https://reactnavigation.org/"> <img src="static/img/react_navigation_header.png" width="400" alt="React Navigation Logo" /> </a></h1>
22

33
Want to help improve the documentation? That would be so very much appreciated. Some information on that below.
44

blog/2019-10-17-react-navigation-native.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ After years of growing development, we need to admit that we’re not always abl
3535

3636
Thanks to the great work of Krzysztof Magiera for [React Native Screens](https://github.com/kmagiera/react-native-screens) library now we can use truly native components instead of JS replicas.
3737

38-
<img src="/assets/blog/android-native-stack.gif" height="530" />
39-
<img src="/assets/blog/ios-native-stack.gif" height="530" />
38+
<img src="/assets/blog/android-native-stack.gif" height="530" alt="Native Stack on Android" />
39+
<img src="/assets/blog/ios-native-stack.gif" height="530" alt="Native Stack on iOS" />
4040

4141
We believe you will find it useful in your projects and strongly encourage you to get acquainted with our [documentation](https://github.com/kmagiera/react-native-screens/native-stack). Things that I’m the most excited about are iOS header animations!
4242

blog/2019-11-04-using-react-navigation-5-with-ui-kitten.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The new React Navigation comes with several significant improvements such as [im
2020

2121
The UI Kitten team started actively using React Navigation alpha and we're proud to announce the full compatibility to the new React Navigation API. In this guide, we won't consider how to implement all of the boilerplate stuff like auth screens. Instead, we will learn how to navigate between screens using Drawer, Bottom Tabs, Top Tabs, and Stack navigators to build a TODO-App. Furthermore, we'll demonstrate using React Navigation with UI Kitten components.
2222

23-
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/overview.gif" height="480"/>
23+
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/overview.gif" height="480" alt="React Navigation with UI Kitten Overview" />
2424

2525
## Overview
2626

@@ -93,7 +93,7 @@ export const AppNavigator = (): React.ReactElement => (
9393
);
9494
```
9595

96-
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/stack-navigator.gif" height="420" />
96+
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/stack-navigator.gif" height="420" alt="UI Kitten with Stack Navigator" />
9797

9898
### Step 2. Top tabs
9999

@@ -185,7 +185,7 @@ export const AppNavigator = (props): React.ReactElement => (
185185
);
186186
```
187187

188-
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/material-top-tab-navigator.gif" height="480" />
188+
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/material-top-tab-navigator.gif" height="480" alt="UI Kitten with Material Top Tabs" />
189189

190190
### Step 3. Bottom tabs
191191

@@ -299,7 +299,7 @@ export const AppNavigator = (props): React.ReactElement => (
299299
);
300300
```
301301

302-
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/bottom-tab-navigator.gif" height="480" />
302+
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/bottom-tab-navigator.gif" height="480" alt="UI Kitten with Bottom Tabs" />
303303

304304
### Step 4. Drawer menu
305305

@@ -435,7 +435,7 @@ export const TodoTabBar = (props): SafeAreaLayoutElement => {
435435
};
436436
```
437437

438-
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/drawer-navigator.gif" height="420" />
438+
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/drawer-navigator.gif" height="420" alt="UI Kitten with Drawer" />
439439

440440
### TypeScript
441441

@@ -472,7 +472,7 @@ export interface ResetPasswordScreenProps {
472472

473473
Now you can modify props of Auth screens props by adding types to make your autocomplete and IntelliSense work. For more complex examples, consider reading [type-checking](/docs/typescript) doc or reviewing [complete demo application sources](https://github.com/artyorsh/react-navigation-ex-demo/tree/complete-exmaples).
474474

475-
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/typescript.gif" />
475+
<img src="/assets/blog/using-react-navigation-5-with-ui-kitten/typescript.gif" alt="UI Kitten & TypeScript" />
476476

477477
### Useful links
478478

blog/2020-01-29-using-react-navigation-5-with-react-native-paper.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In this guide, we would like to show you how to integrate React Navigation with
2727

2828
In the following gif, you can see what is the final version of the app gonna looks like:
2929

30-
<img src="/assets/blog/using-react-navigation-5-with-paper/final-app.gif" height="480"/>
30+
<img src="/assets/blog/using-react-navigation-5-with-paper/final-app.gif" height="480" alt="Final Result" />
3131

3232
## Overview of the App
3333

@@ -142,7 +142,7 @@ export const RootNavigator = () => {
142142

143143
That's what we see on a screen:
144144

145-
<img src="/assets/blog/using-react-navigation-5-with-paper/simple-drawer.gif" height="480"/>
145+
<img src="/assets/blog/using-react-navigation-5-with-paper/simple-drawer.gif" height="480" alt="Simple Drawer" />
146146

147147
We can open a drawer with a swipe gesture, it looks very smooth. However, the UI doesn't look very impressive so let's add more content to the drawer to make it look just like in the final version.
148148

@@ -305,7 +305,7 @@ const styles = StyleSheet.create({
305305

306306
The final version of a drawer looks like this:
307307

308-
<img src="/assets/blog/using-react-navigation-5-with-paper/final-drawer.gif" height="480"/>
308+
<img src="/assets/blog/using-react-navigation-5-with-paper/final-drawer.gif" height="480" alt="Drawer with components from React Native Paper" />
309309

310310
## Stack Navigator + Paper's Appbar
311311

@@ -460,7 +460,7 @@ We have covered only the basics of navigating between screens. If you want to le
460460

461461
Now, let's see what does the app looks like with Stack Navigator and Paper's Appbar.
462462

463-
<img src="/assets/blog/using-react-navigation-5-with-paper/stack.gif" height="480"/>
463+
<img src="/assets/blog/using-react-navigation-5-with-paper/stack.gif" height="480" alt="Stack Navigator with React Native Paper's Appbar" />
464464

465465
We still miss the last piece of our navigation flow - **Tab Navigator**. Let's move to the next section where we will take care of it.
466466

@@ -530,7 +530,7 @@ export const BottomTabs = () => {
530530
When we check the screen of the phone now, we will see a nice looking, material bottom navigation. What's more, Stack Navigator integrates nicely with Tab.Navigator and we can still navigate to the tweet `Details` screen.
531531

532532
<br />
533-
<img src="/assets/blog/using-react-navigation-5-with-paper/bottom-navigation.gif" height="480"/>
533+
<img src="/assets/blog/using-react-navigation-5-with-paper/bottom-navigation.gif" height="480" alt="Stack Navigator with Material Bottom Tabs" />
534534

535535
## FAB and Portal
536536

@@ -749,7 +749,7 @@ export const BottomTabs = props => {
749749
};
750750
```
751751
752-
<img src="/assets/blog/using-react-navigation-5-with-paper/fab.gif" height="480"/>
752+
<img src="/assets/blog/using-react-navigation-5-with-paper/fab.gif" height="480" alt="React Native Paper's FAB with Bottom Tabs" />
753753
754754
As you can see on the gif, the FAB button works in the same way as in a Twitter app.
755755
What's more, it even animates icon change properly even though we haven't implemented it. That's the behavior we get from React Native Paper's FAB out of the box.
@@ -927,7 +927,7 @@ Firstly, we get a current theme using `useTheme` hook from Paper. This means we
927927
You should be able to toggle a switch now and both `Provider` from Paper and `NativeNavigationContainer` from React Navigation will automatically apply correct colors to the components.
928928
929929
<br />
930-
<img src="/assets/blog/using-react-navigation-5-with-paper/theming.gif" height="480"/>
930+
<img src="/assets/blog/using-react-navigation-5-with-paper/theming.gif" height="480" alt="Theming with React Navigation and React Native Paper" />
931931
932932
## Summary
933933

blog/2020-02-06-react-navigation-5.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ You don't need to use Redux in your apps for this to work and it works without a
112112

113113
Traditionally, we have written our navigators in JavaScript for greater customizability. It fits a lot of use cases, but sometimes you want the exact native feel and the performance of native navigation. Now, we have added a new native stack navigator that uses native navigation primitives for navigation using the [`react-native-screens`](https://github.com/kmagiera/react-native-screens) library. Under the hood, it just uses native components which might be obvious choice for native development and might be a good pick in the most cases.
114114

115-
<img src="/assets/blog/android-native-stack.gif" height="530" />
116-
<img src="/assets/blog/ios-native-stack.gif" height="530" />
115+
<img src="/assets/blog/android-native-stack.gif" height="530" alt="Native Stack on Android" />
116+
<img src="/assets/blog/ios-native-stack.gif" height="530" alt="Native Stack on iOS" />
117117

118118
### Native backends for Material top tab navigator
119119

blog/2020-05-16-web-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ URL integration isn't enough to have proper web support. The navigators also nee
8181

8282
The first change is using anchor tags. When you use built-in navigators such as drawer navigator and tab navigator, they render anchor tags for the drawer and tab items respectively when you have linking configured. This means that they behave the same as normal links on the web.
8383

84-
<img src="/assets/blog/web-support/link-right-click.png" height="427"/>
84+
<img src="/assets/blog/web-support/link-right-click.png" height="427" alt="Demo for Right Click on links" />
8585

8686
### No gestures and animations
8787

src/pages/help.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Resources to get help with React Navigation.
44
hide_table_of_contents: true
55
---
66

7-
# Need help?
7+
## Need help?
88

99
If you've encountered a bug with React Navigation, please [post an issue](https://github.com/react-navigation/react-navigation/issues) and be sure to fill out the issue template.
1010

versioned_docs/version-6.x/tab-view.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ React Native Tab View is a cross-platform Tab View component for React Native im
99
It follows material design guidelines by default, but you can also use your own custom tab bar or position the tab bar at the bottom.
1010

1111
<div style={{ display: 'flex', margin: '16px 0' }}>
12-
<img src="/assets/libraries/tab-view.gif" width="360px" />
12+
<img src="/assets/libraries/tab-view.gif" width="360px" alt="React Native Tab View Demo" />
1313
</div>
1414

1515
This package doesn't integrate with React Navigation. If you want to integrate the tab view with React Navigation's navigation system, e.g. want to show screens in the tab bar and be able to navigate between them using `navigation.navigate` etc, use [Material Top Tab Navigator](material-top-tab-navigator.md) instead.

versioned_docs/version-7.x/tab-view.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ React Native Tab View is a cross-platform Tab View component for React Native im
99
It follows material design guidelines by default, but you can also use your own custom tab bar or position the tab bar at the bottom.
1010

1111
<div style={{ display: 'flex', margin: '16px 0' }}>
12-
<img src="/assets/libraries/tab-view.gif" width="360px" />
12+
<img src="/assets/libraries/tab-view.gif" width="360px" alt="React Native Tab View Demo" />
1313
</div>
1414

1515
This package doesn't integrate with React Navigation. If you want to integrate the tab view with React Navigation's navigation system, e.g. want to show screens in the tab bar and be able to navigate between them using `navigation.navigate` etc, use [Material Top Tab Navigator](material-top-tab-navigator.md) instead.

0 commit comments

Comments
 (0)