@ledvance/ui-biz-bundle 1.1.131 → 1.1.132

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
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.131",
7
+ "version": "1.1.132",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -6,7 +6,7 @@ import { convertTo12HourFormat, loopText } from '@ledvance/base/src/utils/common
6
6
  import { ApplyForItem, Timer } from "../Interface";
7
7
  import { useSystemTimeFormate } from "@ledvance/base/src/models/modules/NativePropsSlice";
8
8
  import ThemeType from '@ledvance/base/src/config/themeType'
9
-
9
+ import Spacer from "@ledvance/base/src/components/Spacer";
10
10
  const { convertX: cx } = Utils.RatioUtils;
11
11
  const { withTheme } = Utils.ThemeUtils
12
12
 
@@ -117,7 +117,7 @@ const ScheduleCard = (props: ScheduleCardProps) => {
117
117
  />
118
118
  </View>
119
119
  </View>
120
- {showTag && <View style={styles.typeContainer}>
120
+ {showTag ? <View style={styles.typeContainer}>
121
121
  {showTags.map(tag => (
122
122
  <View style={styles.tag} key={tag.dp}>
123
123
  <Text style={styles.tagTitle}>
@@ -125,10 +125,10 @@ const ScheduleCard = (props: ScheduleCardProps) => {
125
125
  </Text>
126
126
  </View>
127
127
  ))}
128
- </View>}
128
+ </View> : <Spacer height={cx(16)} />}
129
129
  </Card>
130
130
  )
131
131
 
132
132
  }
133
133
 
134
- export default withTheme(ScheduleCard)
134
+ export default withTheme(ScheduleCard) as React.ComponentType<ScheduleCardProps>