Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: fix component type error
Browse files Browse the repository at this point in the history
Signed-off-by: csonchen <cson_chensheng@163.com>
  • Loading branch information
csonchen committed Jul 10, 2023
1 parent 24decf0 commit 8a1cfff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/InputDropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@ InputDropdown.propTypes = {
value: PropTypes.string,
};

InputDropdown.defaultProps = {
pullRight: true,
};

export default InputDropdown;
1 change: 1 addition & 0 deletions src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Tabs.propTypes = {

Tabs.defaultProps = {
eventKeyName: 'key',
id: 'Tabs',
limitNum: 5,
transition: false,
mountOnEnter: false,
Expand Down
1 change: 1 addition & 0 deletions src/interface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ export interface LoaderProps {
}

export interface TabsProps {
id?: string;
/**包含选项卡的title、key、面板内容 */
tabs: any[];
/**大小,提供默认和 small 两种大小 */
Expand Down

0 comments on commit 8a1cfff

Please sign in to comment.