-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPaper.purs
More file actions
44 lines (26 loc) · 1.12 KB
/
Paper.purs
File metadata and controls
44 lines (26 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module Paper where
import Prelude
import React.Basic.Hooks (ReactComponent)
import Markup
foreign import _textInput :: forall props. ReactComponent props
foreign import _surface :: forall props. ReactComponent props
foreign import _button :: forall props. ReactComponent props
foreign import _listSection :: forall props. ReactComponent props
foreign import _listItem :: forall props. ReactComponent props
foreign import listIcon :: forall props. ReactComponent props
foreign import _title :: forall props. ReactComponent props
foreign import _menu :: forall props. ReactComponent props
foreign import _menuItem :: forall props. ReactComponent props
foreign import _switch :: forall props. ReactComponent props
foreign import navigationOptions ::
forall props opts.
ReactComponent props -> Record opts -> ReactComponent props
textInput = childElement _textInput
surface = parentElement _surface
button = parentElement _button
listSection = parentElement _listSection
listItem = childElement _listItem
switch = childElement _switch
title = parentElement _title
menu = parentElement _menu
menuItem = childElement _menuItem