File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
custom-component-library/components/DatePicker Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ export const DateTimePicker: React.FC<CustomNodeProps<DatePickerCustomProps>> =
4949 const stringStyle = getStyles ( 'string' , nodeData )
5050
5151 return isEditing ? (
52- // Picker only shows up when "editing". Due to the `showOnView: false` in
53- // the definition below, this component will not show at all when viewing
54- // (and so will show raw ISO strings). However, we've defined an alternative
55- // here too, when showOnView == true, in which case the date/time string is
56- // shown as a localised date/time.
52+ // By default, DatePicker only shows up when "editing". Due to the
53+ // `showOnView: false` in the definition below, this component will not show
54+ // at all when viewing (and so will show raw ISO strings). However, we've
55+ // defined an alternative here too, when showOnView == true, in which case
56+ // the date/time string is shown as a localised date/time.
5757 < DatePicker
5858 // Check to prevent invalid date (from previous data value) crashing the
5959 // component
You can’t perform that action at this time.
0 commit comments