mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
types(NavBar): fix NavBarProps spelling (#9818)
This commit is contained in:
parent
06d7f3fefa
commit
db93b40db8
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user