diff --git a/example/index.tsx b/example/index.tsx index 4281903..ac7eccd 100644 --- a/example/index.tsx +++ b/example/index.tsx @@ -43,7 +43,7 @@ const offsets: FirstDayOfWeek[] = [0, 1, 2, 3, 4, 5, 6]; const App = () => { const { colorMode, toggleColorMode } = useColorMode(); const demoDate = new Date(); - const [date, setDate] = useState(demoDate); + const [date, setDate] = useState(demoDate); const [selectedDates, setSelectedDates] = useState([ new Date(), new Date(), @@ -138,12 +138,20 @@ const App = () => {
- + closeOnSelect: setSingleCheck(e.currentTarget.checked)} /> + { />
- + closeOnSelect: setRangeCheck(e.currentTarget.checked)} /> + { padding: '5px', }, dividerProps: { - display: "none", + display: 'none', }, }, weekdayLabelProps: {