diff --git a/example/src/App.tsx b/example/src/App.tsx index f9360ef2..c2ab602e 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -10,7 +10,9 @@ const App = () => { const [tasks, setTasks] = React.useState(initTasks()); const [isChecked, setIsChecked] = React.useState(true); let columnWidth = 65; - if (view === ViewMode.Month) { + if (view === ViewMode.Year) { + columnWidth = 350; + } else if (view === ViewMode.Month) { columnWidth = 300; } else if (view === ViewMode.Week) { columnWidth = 250; diff --git a/example/src/components/view-switcher.tsx b/example/src/components/view-switcher.tsx index 8f7e7b89..07284424 100644 --- a/example/src/components/view-switcher.tsx +++ b/example/src/components/view-switcher.tsx @@ -46,7 +46,12 @@ export const ViewSwitcher: React.FC = ({ > Month - +