File tree Expand file tree Collapse file tree 1 file changed +140
-0
lines changed Expand file tree Collapse file tree 1 file changed +140
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ import type { JSX } from "solid-js/types/jsx" ;
3+ export type Primitives = keyof JSX . IntrinsicElements ;
4+
5+ export const primitives : Primitives [ ] = [
6+ "a" ,
7+ "abbr" ,
8+ "address" ,
9+ "area" ,
10+ "article" ,
11+ "aside" ,
12+ "audio" ,
13+ "b" ,
14+ "base" ,
15+ "bdi" ,
16+ "bdo" ,
17+ "big" ,
18+ "blockquote" ,
19+ "body" ,
20+ "br" ,
21+ "button" ,
22+ "canvas" ,
23+ "caption" ,
24+ "cite" ,
25+ "code" ,
26+ "col" ,
27+ "colgroup" ,
28+ "data" ,
29+ "datalist" ,
30+ "dd" ,
31+ "del" ,
32+ "details" ,
33+ "dfn" ,
34+ "dialog" ,
35+ "div" ,
36+ "dl" ,
37+ "dt" ,
38+ "em" ,
39+ "embed" ,
40+ "fieldset" ,
41+ "figcaption" ,
42+ "figure" ,
43+ "footer" ,
44+ "form" ,
45+ "h1" ,
46+ "h2" ,
47+ "h3" ,
48+ "h4" ,
49+ "h5" ,
50+ "h6" ,
51+ "head" ,
52+ "header" ,
53+ "hgroup" ,
54+ "hr" ,
55+ "html" ,
56+ "i" ,
57+ "iframe" ,
58+ "img" ,
59+ "input" ,
60+ "ins" ,
61+ "kbd" ,
62+ "keygen" ,
63+ "label" ,
64+ "legend" ,
65+ "li" ,
66+ "link" ,
67+ "main" ,
68+ "map" ,
69+ "mark" ,
70+ "menu" ,
71+ "menuitem" ,
72+ "meta" ,
73+ "meter" ,
74+ "nav" ,
75+ "noscript" ,
76+ "object" ,
77+ "ol" ,
78+ "optgroup" ,
79+ "option" ,
80+ "output" ,
81+ "p" ,
82+ "param" ,
83+ "picture" ,
84+ "pre" ,
85+ "progress" ,
86+ "q" ,
87+ "rp" ,
88+ "rt" ,
89+ "ruby" ,
90+ "s" ,
91+ "samp" ,
92+ "script" ,
93+ "section" ,
94+ "select" ,
95+ "small" ,
96+ "source" ,
97+ "span" ,
98+ "strong" ,
99+ "style" ,
100+ "sub" ,
101+ "summary" ,
102+ "sup" ,
103+ "table" ,
104+ "tbody" ,
105+ "td" ,
106+ "textarea" ,
107+ "tfoot" ,
108+ "th" ,
109+ "thead" ,
110+ "time" ,
111+ "title" ,
112+ "tr" ,
113+ "track" ,
114+ "u" ,
115+ "ul" ,
116+ "var" ,
117+ "video" ,
118+ "wbr" ,
119+ // SVG
120+ "circle" ,
121+ "clipPath" ,
122+ "defs" ,
123+ "ellipse" ,
124+ "foreignObject" ,
125+ "g" ,
126+ "image" ,
127+ "line" ,
128+ "linearGradient" ,
129+ "mask" ,
130+ "path" ,
131+ "pattern" ,
132+ "polygon" ,
133+ "polyline" ,
134+ "radialGradient" ,
135+ "rect" ,
136+ "stop" ,
137+ "svg" ,
138+ "text" ,
139+ "tspan" ,
140+ ] ;
You can’t perform that action at this time.
0 commit comments