-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #482 from guodongAndroid/master
fix: 修改和增加 ts 定义文件
- Loading branch information
Showing
4 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { AllowedComponentProps, VNodeProps } from './_common' | ||
|
||
declare interface SafeBottomProps { | ||
/** | ||
* 定义需要用到的外部样式 | ||
*/ | ||
customStyle?: unknown | ||
} | ||
|
||
declare interface _SafeBottom { | ||
new (): { | ||
$props: AllowedComponentProps & VNodeProps & SafeBottomProps | ||
} | ||
} | ||
|
||
export declare const SafeBottom: _SafeBottom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { AllowedComponentProps, VNodeProps } from './_common' | ||
|
||
declare interface StatusBarProps { | ||
|
||
/** | ||
* 背景色 | ||
*/ | ||
bgColor?: string | ||
|
||
/** | ||
* 定义需要用到的外部样式 | ||
*/ | ||
customStyle?: unknown | ||
} | ||
|
||
declare interface _StatusBar { | ||
new (): { | ||
$props: AllowedComponentProps & VNodeProps & StatusBarProps | ||
} | ||
} | ||
|
||
export declare const StatusBar: _StatusBar |