Update route-switch.md

This commit is contained in:
Pearl C 2023-02-18 23:36:36 +08:00 committed by GitHub
parent 931d20beb8
commit 620a8c9daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ interface RouteProps {
} }
``` ```
## 完整示例 ## Full Example
```tsx | pure ```tsx | pure
import React from 'react'; import React from 'react';