simplify date picker theme (#6926)
This commit is contained in:
@@ -56,7 +56,7 @@ export function DateField({
|
|||||||
modal
|
modal
|
||||||
open
|
open
|
||||||
timeZoneOffsetInMinutes={0}
|
timeZoneOffsetInMinutes={0}
|
||||||
theme={t.name === 'light' ? 'light' : 'dark'}
|
theme={t.scheme}
|
||||||
buttonColor={t.name === 'light' ? '#000000' : '#ffffff'}
|
buttonColor={t.name === 'light' ? '#000000' : '#ffffff'}
|
||||||
date={new Date(value)}
|
date={new Date(value)}
|
||||||
onConfirm={onChangeInternal}
|
onConfirm={onChangeInternal}
|
||||||
|
|||||||
Reference in New Issue
Block a user