-
Notifications
You must be signed in to change notification settings - Fork 41
/
Generated.purs
2062 lines (1720 loc) · 40.4 KB
/
Generated.purs
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- | ----------------------------------------
-- | THIS FILE IS GENERATED -- DO NOT EDIT IT
-- | ----------------------------------------
module React.Basic.DOM.Generated where
import Prim.Row (class Union)
import React.Basic (JSX, element)
import React.Basic.DOM.Internal (SharedProps, unsafeCreateDOMComponent)
import React.Basic.Events (EventHandler)
type Props_a =
( children :: Array JSX
, coords :: String
, download :: String
, href :: String
, name :: String
, onClick :: EventHandler
, rel :: String
, shape :: String
, target :: String
, type :: String
)
a
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_a)
=> Record attrs
-> JSX
a = element (unsafeCreateDOMComponent "a")
a_ :: Array JSX -> JSX
a_ children = a { children }
type Props_abbr =
( children :: Array JSX
, title :: String
)
abbr
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_abbr)
=> Record attrs
-> JSX
abbr = element (unsafeCreateDOMComponent "abbr")
abbr_ :: Array JSX -> JSX
abbr_ children = abbr { children }
type Props_address =
( children :: Array JSX
)
address
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_address)
=> Record attrs
-> JSX
address = element (unsafeCreateDOMComponent "address")
address_ :: Array JSX -> JSX
address_ children = address { children }
type Props_area =
( alt :: String
, coords :: String
, download :: String
, href :: String
, rel :: String
, shape :: String
, target :: String
, type :: String
)
area
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_area)
=> Record attrs
-> JSX
area = element (unsafeCreateDOMComponent "area")
type Props_article =
( children :: Array JSX
)
article
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_article)
=> Record attrs
-> JSX
article = element (unsafeCreateDOMComponent "article")
article_ :: Array JSX -> JSX
article_ children = article { children }
type Props_aside =
( children :: Array JSX
)
aside
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_aside)
=> Record attrs
-> JSX
aside = element (unsafeCreateDOMComponent "aside")
aside_ :: Array JSX -> JSX
aside_ children = aside { children }
type Props_audio =
( children :: Array JSX
, controls :: Boolean
, loop :: Boolean
, muted :: Boolean
, preload :: String
, src :: String
)
audio
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_audio)
=> Record attrs
-> JSX
audio = element (unsafeCreateDOMComponent "audio")
audio_ :: Array JSX -> JSX
audio_ children = audio { children }
type Props_b =
( children :: Array JSX
)
b
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_b)
=> Record attrs
-> JSX
b = element (unsafeCreateDOMComponent "b")
b_ :: Array JSX -> JSX
b_ children = b { children }
type Props_base =
( href :: String
, target :: String
)
base
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_base)
=> Record attrs
-> JSX
base = element (unsafeCreateDOMComponent "base")
type Props_bdi =
( children :: Array JSX
)
bdi
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_bdi)
=> Record attrs
-> JSX
bdi = element (unsafeCreateDOMComponent "bdi")
bdi_ :: Array JSX -> JSX
bdi_ children = bdi { children }
type Props_bdo =
( children :: Array JSX
, dir :: String
)
bdo
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_bdo)
=> Record attrs
-> JSX
bdo = element (unsafeCreateDOMComponent "bdo")
bdo_ :: Array JSX -> JSX
bdo_ children = bdo { children }
type Props_blockquote =
( children :: Array JSX
, cite :: String
)
blockquote
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_blockquote)
=> Record attrs
-> JSX
blockquote = element (unsafeCreateDOMComponent "blockquote")
blockquote_ :: Array JSX -> JSX
blockquote_ children = blockquote { children }
type Props_body =
( children :: Array JSX
)
body
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_body)
=> Record attrs
-> JSX
body = element (unsafeCreateDOMComponent "body")
body_ :: Array JSX -> JSX
body_ children = body { children }
type Props_br =()
br
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_br)
=> Record attrs
-> JSX
br = element (unsafeCreateDOMComponent "br")
type Props_button =
( children :: Array JSX
, disabled :: Boolean
, form :: String
, name :: String
, type :: String
, value :: String
)
button
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_button)
=> Record attrs
-> JSX
button = element (unsafeCreateDOMComponent "button")
button_ :: Array JSX -> JSX
button_ children = button { children }
type Props_canvas =
( children :: Array JSX
, height :: String
, width :: String
)
canvas
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_canvas)
=> Record attrs
-> JSX
canvas = element (unsafeCreateDOMComponent "canvas")
canvas_ :: Array JSX -> JSX
canvas_ children = canvas { children }
type Props_caption =
( children :: Array JSX
)
caption
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_caption)
=> Record attrs
-> JSX
caption = element (unsafeCreateDOMComponent "caption")
caption_ :: Array JSX -> JSX
caption_ children = caption { children }
type Props_cite =
( children :: Array JSX
)
cite
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_cite)
=> Record attrs
-> JSX
cite = element (unsafeCreateDOMComponent "cite")
cite_ :: Array JSX -> JSX
cite_ children = cite { children }
type Props_code =
( children :: Array JSX
)
code
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_code)
=> Record attrs
-> JSX
code = element (unsafeCreateDOMComponent "code")
code_ :: Array JSX -> JSX
code_ children = code { children }
type Props_col =
( span :: Number
, width :: String
)
col
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_col)
=> Record attrs
-> JSX
col = element (unsafeCreateDOMComponent "col")
type Props_colgroup =
( children :: Array JSX
, span :: Number
, width :: String
)
colgroup
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_colgroup)
=> Record attrs
-> JSX
colgroup = element (unsafeCreateDOMComponent "colgroup")
colgroup_ :: Array JSX -> JSX
colgroup_ children = colgroup { children }
type Props_data =
( children :: Array JSX
, value :: String
)
data'
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_data)
=> Record attrs
-> JSX
data' = element (unsafeCreateDOMComponent "data")
data_ :: Array JSX -> JSX
data_ children = data' { children }
type Props_datalist =
( children :: Array JSX
)
datalist
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_datalist)
=> Record attrs
-> JSX
datalist = element (unsafeCreateDOMComponent "datalist")
datalist_ :: Array JSX -> JSX
datalist_ children = datalist { children }
type Props_dd =
( children :: Array JSX
)
dd
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_dd)
=> Record attrs
-> JSX
dd = element (unsafeCreateDOMComponent "dd")
dd_ :: Array JSX -> JSX
dd_ children = dd { children }
type Props_del =
( children :: Array JSX
, cite :: String
)
del
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_del)
=> Record attrs
-> JSX
del = element (unsafeCreateDOMComponent "del")
del_ :: Array JSX -> JSX
del_ children = del { children }
type Props_details =
( children :: Array JSX
, open :: Boolean
)
details
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_details)
=> Record attrs
-> JSX
details = element (unsafeCreateDOMComponent "details")
details_ :: Array JSX -> JSX
details_ children = details { children }
type Props_dfn =
( children :: Array JSX
, title :: String
)
dfn
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_dfn)
=> Record attrs
-> JSX
dfn = element (unsafeCreateDOMComponent "dfn")
dfn_ :: Array JSX -> JSX
dfn_ children = dfn { children }
type Props_dialog =
( children :: Array JSX
, open :: Boolean
)
dialog
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_dialog)
=> Record attrs
-> JSX
dialog = element (unsafeCreateDOMComponent "dialog")
dialog_ :: Array JSX -> JSX
dialog_ children = dialog { children }
type Props_div =
( children :: Array JSX
)
div
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_div)
=> Record attrs
-> JSX
div = element (unsafeCreateDOMComponent "div")
div_ :: Array JSX -> JSX
div_ children = div { children }
type Props_dl =
( children :: Array JSX
)
dl
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_dl)
=> Record attrs
-> JSX
dl = element (unsafeCreateDOMComponent "dl")
dl_ :: Array JSX -> JSX
dl_ children = dl { children }
type Props_dt =
( children :: Array JSX
)
dt
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_dt)
=> Record attrs
-> JSX
dt = element (unsafeCreateDOMComponent "dt")
dt_ :: Array JSX -> JSX
dt_ children = dt { children }
type Props_em =
( children :: Array JSX
)
em
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_em)
=> Record attrs
-> JSX
em = element (unsafeCreateDOMComponent "em")
em_ :: Array JSX -> JSX
em_ children = em { children }
type Props_embed =
( height :: String
, src :: String
, type :: String
, width :: String
)
embed
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_embed)
=> Record attrs
-> JSX
embed = element (unsafeCreateDOMComponent "embed")
type Props_fieldset =
( children :: Array JSX
, disabled :: Boolean
, form :: String
, name :: String
)
fieldset
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_fieldset)
=> Record attrs
-> JSX
fieldset = element (unsafeCreateDOMComponent "fieldset")
fieldset_ :: Array JSX -> JSX
fieldset_ children = fieldset { children }
type Props_figcaption =
( children :: Array JSX
)
figcaption
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_figcaption)
=> Record attrs
-> JSX
figcaption = element (unsafeCreateDOMComponent "figcaption")
figcaption_ :: Array JSX -> JSX
figcaption_ children = figcaption { children }
type Props_figure =
( children :: Array JSX
)
figure
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_figure)
=> Record attrs
-> JSX
figure = element (unsafeCreateDOMComponent "figure")
figure_ :: Array JSX -> JSX
figure_ children = figure { children }
type Props_footer =
( children :: Array JSX
)
footer
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_footer)
=> Record attrs
-> JSX
footer = element (unsafeCreateDOMComponent "footer")
footer_ :: Array JSX -> JSX
footer_ children = footer { children }
type Props_form =
( accept :: String
, action :: String
, children :: Array JSX
, method :: String
, name :: String
, onChange :: EventHandler
, onInput :: EventHandler
, onInvalid :: EventHandler
, onSubmit :: EventHandler
, target :: String
)
form
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_form)
=> Record attrs
-> JSX
form = element (unsafeCreateDOMComponent "form")
form_ :: Array JSX -> JSX
form_ children = form { children }
type Props_h1 =
( children :: Array JSX
)
h1
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_h1)
=> Record attrs
-> JSX
h1 = element (unsafeCreateDOMComponent "h1")
h1_ :: Array JSX -> JSX
h1_ children = h1 { children }
type Props_h2 =
( children :: Array JSX
)
h2
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_h2)
=> Record attrs
-> JSX
h2 = element (unsafeCreateDOMComponent "h2")
h2_ :: Array JSX -> JSX
h2_ children = h2 { children }
type Props_h3 =
( children :: Array JSX
)
h3
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_h3)
=> Record attrs
-> JSX
h3 = element (unsafeCreateDOMComponent "h3")
h3_ :: Array JSX -> JSX
h3_ children = h3 { children }
type Props_h4 =
( children :: Array JSX
)
h4
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_h4)
=> Record attrs
-> JSX
h4 = element (unsafeCreateDOMComponent "h4")
h4_ :: Array JSX -> JSX
h4_ children = h4 { children }
type Props_h5 =
( children :: Array JSX
)
h5
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_h5)
=> Record attrs
-> JSX
h5 = element (unsafeCreateDOMComponent "h5")
h5_ :: Array JSX -> JSX
h5_ children = h5 { children }
type Props_h6 =
( children :: Array JSX
)
h6
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_h6)
=> Record attrs
-> JSX
h6 = element (unsafeCreateDOMComponent "h6")
h6_ :: Array JSX -> JSX
h6_ children = h6 { children }
type Props_head =
( children :: Array JSX
, profile :: String
)
head
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_head)
=> Record attrs
-> JSX
head = element (unsafeCreateDOMComponent "head")
head_ :: Array JSX -> JSX
head_ children = head { children }
type Props_header =
( children :: Array JSX
)
header
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_header)
=> Record attrs
-> JSX
header = element (unsafeCreateDOMComponent "header")
header_ :: Array JSX -> JSX
header_ children = header { children }
type Props_hgroup =
( children :: Array JSX
)
hgroup
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_hgroup)
=> Record attrs
-> JSX
hgroup = element (unsafeCreateDOMComponent "hgroup")
hgroup_ :: Array JSX -> JSX
hgroup_ children = hgroup { children }
type Props_hr =
( size :: Number
, width :: String
)
hr
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_hr)
=> Record attrs
-> JSX
hr = element (unsafeCreateDOMComponent "hr")
type Props_html =
( children :: Array JSX
, manifest :: String
)
html
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_html)
=> Record attrs
-> JSX
html = element (unsafeCreateDOMComponent "html")
html_ :: Array JSX -> JSX
html_ children = html { children }
type Props_i =
( children :: Array JSX
)
i
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_i)
=> Record attrs
-> JSX
i = element (unsafeCreateDOMComponent "i")
i_ :: Array JSX -> JSX
i_ children = i { children }
type Props_iframe =
( children :: Array JSX
, height :: String
, name :: String
, sandbox :: String
, scrolling :: String
, src :: String
, width :: String
)
iframe
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_iframe)
=> Record attrs
-> JSX
iframe = element (unsafeCreateDOMComponent "iframe")
iframe_ :: Array JSX -> JSX
iframe_ children = iframe { children }
type Props_img =
( alt :: String
, height :: String
, name :: String
, sizes :: String
, src :: String
, width :: String
)
img
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_img)
=> Record attrs
-> JSX
img = element (unsafeCreateDOMComponent "img")
type Props_input =
( accept :: String
, alt :: String
, autoCapitalize :: String
, autoCorrect :: String
, autoSave :: String
, checked :: Boolean
, defaultChecked :: String
, defaultValue :: String
, disabled :: Boolean
, form :: String
, height :: String
, list :: String
, max :: Number
, min :: Number
, multiple :: Boolean
, name :: String
, onChange :: EventHandler
, pattern :: String
, placeholder :: String
, required :: Boolean
, results :: String
, size :: Number
, src :: String
, step :: String
, title :: String
, type :: String
, value :: String
, width :: String
)
input
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_input)
=> Record attrs
-> JSX
input = element (unsafeCreateDOMComponent "input")
type Props_ins =
( children :: Array JSX
, cite :: String
)
ins
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_ins)
=> Record attrs
-> JSX
ins = element (unsafeCreateDOMComponent "ins")
ins_ :: Array JSX -> JSX
ins_ children = ins { children }
type Props_kbd =
( children :: Array JSX
)
kbd
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_kbd)
=> Record attrs
-> JSX
kbd = element (unsafeCreateDOMComponent "kbd")
kbd_ :: Array JSX -> JSX
kbd_ children = kbd { children }
type Props_keygen =
( challenge :: String
, children :: Array JSX
, disabled :: Boolean
, form :: String
, name :: String
)
keygen
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_keygen)
=> Record attrs
-> JSX
keygen = element (unsafeCreateDOMComponent "keygen")
keygen_ :: Array JSX -> JSX
keygen_ children = keygen { children }
type Props_label =
( children :: Array JSX
, form :: String
)
label
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_label)
=> Record attrs
-> JSX
label = element (unsafeCreateDOMComponent "label")
label_ :: Array JSX -> JSX
label_ children = label { children }
type Props_legend =
( children :: Array JSX
)
legend
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_legend)
=> Record attrs
-> JSX
legend = element (unsafeCreateDOMComponent "legend")
legend_ :: Array JSX -> JSX
legend_ children = legend { children }
type Props_li =
( children :: Array JSX
, type :: String
, value :: String
)
li
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_li)
=> Record attrs
-> JSX
li = element (unsafeCreateDOMComponent "li")
li_ :: Array JSX -> JSX
li_ children = li { children }
type Props_link =
( color :: String
, href :: String
, integrity :: String
, media :: String
, nonce :: String
, rel :: String
, scope :: String
, sizes :: String
, target :: String
, title :: String
, type :: String
)
link
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_link)
=> Record attrs
-> JSX
link = element (unsafeCreateDOMComponent "link")
type Props_main =
( children :: Array JSX
)
main
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_main)
=> Record attrs
-> JSX
main = element (unsafeCreateDOMComponent "main")
main_ :: Array JSX -> JSX
main_ children = main { children }
type Props_map =
( children :: Array JSX
, name :: String
)
map
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_map)
=> Record attrs
-> JSX
map = element (unsafeCreateDOMComponent "map")
map_ :: Array JSX -> JSX
map_ children = map { children }
type Props_mark =
( children :: Array JSX
)
mark
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_mark)
=> Record attrs
-> JSX
mark = element (unsafeCreateDOMComponent "mark")
mark_ :: Array JSX -> JSX
mark_ children = mark { children }
type Props_math =
( children :: Array JSX
)
math
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_math)
=> Record attrs
-> JSX
math = element (unsafeCreateDOMComponent "math")
math_ :: Array JSX -> JSX
math_ children = math { children }
type Props_menu =
( children :: Array JSX
)
menu
:: forall attrs attrs_
. Union attrs attrs_ (SharedProps Props_menu)