@yorkjs/hive-ui 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorkjs/hive-ui",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Hive UI - Taro React component library",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -25,7 +25,7 @@ interface IProps {
25
25
  desc?: string
26
26
  /** 描述文字颜色 */
27
27
  descColor?: string
28
- /** 是否隐藏底部分割线 */
28
+ /** 是否显示底部分割线 */
29
29
  showSeparator?: boolean
30
30
  /** 点击事件 */
31
31
  onClick?: () => void
@@ -42,7 +42,7 @@ const FlowItem: React.FC<IProps> = (props) => {
42
42
  amountColor,
43
43
  desc,
44
44
  descColor,
45
- showSeparator = false,
45
+ showSeparator = true,
46
46
  onClick,
47
47
  className
48
48
  } = props
@@ -78,7 +78,7 @@ const FlowItem: React.FC<IProps> = (props) => {
78
78
  )}
79
79
  onClick={onClick}
80
80
  >
81
- <View className={showSeparator ? 'flow-content-no-border' : 'flow-content'}>
81
+ <View className={showSeparator ? 'flow-content' : 'flow-content-no-border'}>
82
82
  <View className="flow-item-left">
83
83
  {renderIcon()}
84
84