mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
types(NavBar): fix NavBarProps spelling (#9818)
This commit is contained in:
@@ -30,7 +30,7 @@ const navBarProps = {
|
||||
safeAreaInsetTop: Boolean,
|
||||
};
|
||||
|
||||
export type NavbarProps = ExtractPropTypes<typeof navBarProps>;
|
||||
export type NavBarProps = ExtractPropTypes<typeof navBarProps>;
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
@@ -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
|
||||
|
@@ -128,7 +128,7 @@ export default {
|
||||
组件导出以下类型定义:
|
||||
|
||||
```ts
|
||||
import type { NavbarProps } from 'vant';
|
||||
import type { NavBarProps } from 'vant';
|
||||
```
|
||||
|
||||
## 主题定制
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user