Polish mobile and web experience
This commit is contained in:
@@ -62,7 +62,12 @@ export function DateTimeField({
|
||||
<View style={styles.wrapper}>
|
||||
<Text style={[styles.label, { color: colors.mutedForeground }]}>{label}</Text>
|
||||
<Pressable
|
||||
accessible
|
||||
accessibilityLabel={`${label}, ${
|
||||
mode === "date" ? formatDate(value) : formatDateTime(value)
|
||||
}`}
|
||||
accessibilityRole="button"
|
||||
accessibilityState={{ expanded: open }}
|
||||
onPress={openPicker}
|
||||
style={({ pressed }) => [
|
||||
styles.trigger,
|
||||
|
||||
Reference in New Issue
Block a user