@olea-bps/views 1.0.5 → 1.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/Event/index.js +5 -1
- package/package.json +1 -1
package/Event/index.js
CHANGED
|
@@ -102,7 +102,11 @@ function generateTimeslots(allEvents, start, end, length) {
|
|
|
102
102
|
* @param {string} props.startTime Startzeit der Liste
|
|
103
103
|
* @param {string} props.endTime Endzeit der Liste
|
|
104
104
|
*/
|
|
105
|
-
function TimeslotAccordionHeader({ startTime, endTime,
|
|
105
|
+
function TimeslotAccordionHeader({ startTime, endTime, styles, isExpanded }) {
|
|
106
|
+
const { t } = useTranslation();
|
|
107
|
+
const theme = useTheme();
|
|
108
|
+
const { colors, themeStyles } = theme;
|
|
109
|
+
|
|
106
110
|
return (
|
|
107
111
|
<View style={styles.header}>
|
|
108
112
|
<View style={[themeStyles.cardLeftIcon, { marginStart: 5 }]}>
|