Skip to content

Commit 6e50490

Browse files
committed
Test out the isMonthPickerVisible property
1 parent c6c4bda commit 6e50490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webparts/controlsTest/components/ControlsTest.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
313313
<Link href="https://sharepoint.github.io/sp-dev-fx-controls-react/">See all</Link>
314314
} />
315315

316-
<DateTimePicker label="DateTime Picker (unspecified = date and time)" showSeconds={false} onChange={(value) => console.log("DateTimePicker value:", value)} />
316+
<DateTimePicker label="DateTime Picker (unspecified = date and time)" isMonthPickerVisible={false} showSeconds={false} onChange={(value) => console.log("DateTimePicker value:", value)} />
317317
<DateTimePicker label="DateTime Picker (unspecified = date and time)" showSeconds={true} onChange={(value) => console.log("DateTimePicker value:", value)} />
318318
<DateTimePicker label="DateTime Picker (unspecified = date and time)" timeConvention={TimeConvention.Hours24} onChange={(value) => console.log("DateTimePicker value:", value)} />
319319
<DateTimePicker label="DateTime Picker (unspecified = date and time)" value={new Date()} onChange={(value) => console.log("DateTimePicker value:", value)} />

0 commit comments

Comments
 (0)