-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathApp.tsx
More file actions
24 lines (22 loc) · 793 Bytes
/
App.tsx
File metadata and controls
24 lines (22 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import InlinePicker from './containers/InlinePicker'
import ModalPicker from './containers/ModalPicker'
function App() {
return <>
<header
className="text-center text-2xl text-blue-700 font-bold py-4"
>React Mobile Picker</header>
<section className="px-4">
<p className="mb-2">React Mobile Picker is a super simple component like iOS picker for React. It's almost unstyled, so you can easily customize it as you like.</p>
<p className="mb-2">Here are two examples:</p>
</section>
<section>
<p className="px-4 mb-1 text-neutral-400">1. As an inline component</p>
<InlinePicker />
</section>
<section>
<p className="px-4 mb-1 text-neutral-400">2. In a modal</p>
<ModalPicker />
</section>
</>
}
export default App