mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
feat(loading-bar): export LoadingBarApi (#354)
* 对外导出 LoadingBarApiInjection * changlog * change log export type * 修改为LoadingBarApi * Apply suggestions from code review * Update CHANGELOG.en-US.md Co-authored-by: hhf <1170533231@qq.com> Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
parent
1fd2a6d919
commit
3b6f4219fa
@ -1,5 +1,11 @@
|
||||
# CHANGELOG
|
||||
|
||||
## Pending
|
||||
|
||||
### Feats
|
||||
|
||||
- `n-loading-bar` export `LoadingBarApi` type
|
||||
|
||||
## 2.15.2 (2021-07-02)
|
||||
|
||||
### Feats
|
||||
|
@ -1,5 +1,11 @@
|
||||
# CHANGELOG
|
||||
|
||||
## Pending
|
||||
|
||||
### Feats
|
||||
|
||||
- `n-loading-bar` 导出 `LoadingBarApi` 类型
|
||||
|
||||
## 2.15.2 (2021-07-02)
|
||||
|
||||
### Feats
|
||||
|
@ -1,6 +1,7 @@
|
||||
export { default as NLoadingBarProvider } from './src/LoadingBarProvider'
|
||||
export type {
|
||||
LoadingBarProviderInst,
|
||||
LoadingBarProviderProps
|
||||
LoadingBarProviderProps,
|
||||
LoadingBarApiInjection as LoadingBarApi
|
||||
} from './src/LoadingBarProvider'
|
||||
export { useLoadingBar } from './src/use-loading-bar'
|
||||
|
Loading…
Reference in New Issue
Block a user