Skip to content

Commit

Permalink
Remove incorrect default attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Feb 28, 2024
1 parent 1fb2545 commit 4ce1b1c
Show file tree
Hide file tree
Showing 29 changed files with 96 additions and 96 deletions.
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/MST-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Use `Provider` to wrap what you return from your root component's render method:
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<Provider myObject={this.myObject}>
Expand Down
10 changes: 5 additions & 5 deletions versioned_docs/version-7.x/auth-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
state.userToken == null ? (
Expand Down Expand Up @@ -740,7 +740,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Signing in and signing out with AuthContext" snack version=7
import * as React from 'react';
Expand Down Expand Up @@ -982,7 +982,7 @@ const RootStack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
isSignedIn ? (
Expand Down Expand Up @@ -1052,7 +1052,7 @@ const RootStack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<>
Expand Down Expand Up @@ -1131,7 +1131,7 @@ const RootStack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const styles = StyleSheet.create({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Custom android back button" snack version=7
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/deep-linking.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
import * as Linking from 'expo-linking';
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function App() {

</TabItem>

<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
import * as React from 'react';
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-7.x/drawer-based-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Drawer navigation" snack version=7
import * as React from 'react';
Expand Down Expand Up @@ -517,7 +517,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Navigation dispatcher" snack version=7
import * as React from 'react';
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-7.x/elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const RootStack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<Stack.Screen
Expand Down Expand Up @@ -229,7 +229,7 @@ export default App;
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Header blur" snack version=7 dependencies=expo-blur@~12.9.1
import * as React from 'react';
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-7.x/function-after-focusing-screen.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Focus event listener" snack version=7
// codeblock-focus-start
Expand Down Expand Up @@ -183,7 +183,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="useFocusEffect hook" snack version=7
import * as React from 'react';
Expand Down
10 changes: 5 additions & 5 deletions versioned_docs/version-7.x/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Stack = createStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
const Stack = createStackNavigator(); // Stack contains Screen & Navigator properties
Expand Down Expand Up @@ -103,7 +103,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Stack groups" snack version=7 dependencies=@react-navigation/elements
import * as React from 'react';
Expand Down Expand Up @@ -180,7 +180,7 @@ const Stack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<Stack.Group
Expand Down Expand Up @@ -215,7 +215,7 @@ const Stack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<Stack.Group
Expand Down Expand Up @@ -253,7 +253,7 @@ const Stack = createNativeStackNavigator({
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
<Stack.Group navigationKey={isSignedIn ? 'user' : 'guest'}>
Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-7.x/handling-safe-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Hidden components" snack version=7
import * as React from 'react';
Expand Down Expand Up @@ -232,7 +232,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Safe area example" snack version=7
import * as React from 'react';
Expand Down Expand Up @@ -400,7 +400,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="useSafeAreaInsets hook" snack version=7
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/hiding-tabbar-in-screens.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Hiding tabbar" snack version=7
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Modal" snack version=7
import * as React from 'react';
Expand Down
8 changes: 4 additions & 4 deletions versioned_docs/version-7.x/multiple-drawers.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
import * as React from 'react';
Expand Down Expand Up @@ -205,7 +205,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
import * as React from 'react';
Expand Down Expand Up @@ -334,7 +334,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Multiple drawers" snack version=7
import * as React from 'react';
Expand Down Expand Up @@ -466,7 +466,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Multiple drawers navigators" snack version=7
import * as React from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js
import { NavigationContainer } from '@react-navigation/native';
Expand Down Expand Up @@ -140,7 +140,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Using navigate in any js module" snack version=7
import * as React from 'react';
Expand Down Expand Up @@ -294,7 +294,7 @@ export default function App() {
```

</TabItem>
<TabItem value="dynamic" label="Dynamic" default>
<TabItem value="dynamic" label="Dynamic">

```js name="Handling navigation init" snack version=7
import * as React from 'react';
Expand Down
Loading

0 comments on commit 4ce1b1c

Please sign in to comment.