types(NavBar): fix NavBarProps spelling (#9818)

This commit is contained in:
neverland 2021-11-06 15:46:30 +08:00 committed by GitHub
parent 06d7f3fefa
commit db93b40db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ const navBarProps = {
safeAreaInsetTop: Boolean,
};
export type NavbarProps = ExtractPropTypes<typeof navBarProps>;
export type NavBarProps = ExtractPropTypes<typeof navBarProps>;
export default defineComponent({
name,

View File

@ -120,7 +120,7 @@ export default {
The component exports the following type definitions:
```ts
import type { NavbarProps } from 'vant';
import type { NavBarProps } from 'vant';
```
## Theming

View File

@ -128,7 +128,7 @@ export default {
组件导出以下类型定义:
```ts
import type { NavbarProps } from 'vant';
import type { NavBarProps } from 'vant';
```
## 主题定制

View File

@ -3,4 +3,4 @@ import _NavBar from './NavBar';
export const NavBar = withInstall(_NavBar);
export default NavBar;
export type { NavbarProps } from './NavBar';
export type { NavBarProps } from './NavBar';