@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
|
@@ -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
|
|
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>
|