Update route-switch.md
This commit is contained in:
parent
931d20beb8
commit
620a8c9daf
@ -42,7 +42,7 @@ interface RouteProps {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 完整示例
|
## Full Example
|
||||||
|
|
||||||
```tsx | pure
|
```tsx | pure
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
@ -76,4 +76,4 @@ export default () => {
|
|||||||
</RouteSwitchProvider>
|
</RouteSwitchProvider>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user