Skip to content

Commit 764a79e

Browse files
committed
Improve DateInput component examples
1 parent c32da1d commit 764a79e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ const App = () => (
155155
<FormControlExamples />
156156
<TextInputExamples />
157157
<PasswordInputExamples />
158+
<DateInputExamples />
158159
<ChipExamples />
159160
<SwitchExamples />
160161
<BannerExamples />
161162
<DialogExamples />
162163
<ImageExamples />
163164
<AvatarExamples />
164165
<CardExample />
165-
<DateInputExamples />
166166
</VStack>
167167
</ScrollView>
168168
</SafeAreaView>

web_example/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ const App = () => (
121121
<ThemeProvider theme={customTheme}>
122122
<Box flex={1} alignItems="center">
123123
<VStack width="500px">
124-
<DateInputExamples />
125124
<PaletteColorGrid />
126125
<TextExamples />
127126
<BoxExamples />
@@ -133,6 +132,7 @@ const App = () => (
133132
<FormControlExamples />
134133
<TextInputExamples />
135134
<PasswordInputExamples />
135+
<DateInputExamples />
136136
<ChipExamples />
137137
<SwitchExamples />
138138
<BannerExamples />

web_example/src/components/DateInputExamples.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const DateInputExamples = () => {
2626
const [ value, setValue ] = React.useState( '' );
2727

2828
return (
29-
<VStack style={{ zIndex: 1000 }}>
29+
<VStack style={{ zIndex: 100 }}>
3030
<Text variant="headline">DateInput Component</Text>
3131
<View style={styles.vspace} />
3232
<Text variant="subtitle">Enabled</Text>

0 commit comments

Comments
 (0)