We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89691d7 commit 1b6e5e4Copy full SHA for 1b6e5e4
example/src/screens/playgroundScreen.tsx
@@ -12,7 +12,7 @@ const BLUE = '#00BBF2';
12
13
export default function PlaygroundScreen() {
14
const [selectedDate, setSelectedDate] = useState(INITIAL_DATE);
15
- const [element, setElement] = useState('Calendar');
+ const [element, setElement] = useState(elements.LIST);
16
17
18
const onDayPress = useCallback((day) => {
@@ -33,6 +33,7 @@ export default function PlaygroundScreen() {
33
<CalendarList
34
current={INITIAL_DATE}
35
style={styles.calendar}
36
+ horizontal
37
/>
38
);
39
};
0 commit comments