Skip to content

Commit ff76372

Browse files
committed
codegen: resolved TODO attributes, turned out all to be Strings.
Needed to look into the React source code, see https://github.com/facebook/react/blob/master/fixtures/attribute-behavior/AttributeTableSnapshot.md They are apparently not documented anywhere else that I could find.
1 parent 44c3c9d commit ff76372

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

codegen/consts.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports.props = require("react-html-attributes");
22
module.exports.voids = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"];
33
module.exports.types = {
4-
//"about": TODO what is this?
54
"allowFullScreen": "Boolean",
65
"allowTransparency": "Boolean",
76
"async": "Boolean",
@@ -18,17 +17,14 @@ module.exports.types = {
1817
"contentEditable": "Boolean",
1918
"controls": "Boolean",
2019
"dangerouslySetInnerHTML": "{ __html :: String }",
21-
//"datatype": TODO what is this?
2220
"default": "Boolean",
2321
"defer": "Boolean",
2422
"disabled": "Boolean",
2523
"draggable": "Boolean",
2624
"formNoValidate": "Boolean",
2725
"frameBorder": "Number",
2826
"hidden": "Boolean",
29-
//"inlist": TODO what is this?
3027
"itemScope": "Boolean",
31-
//"keyParams": TODO what is this?
3228
"loop": "Boolean",
3329
"marginHeight": "Number",
3430
"marginWidth": "Number",
@@ -51,10 +47,8 @@ module.exports.types = {
5147
"onSubmit": "EventHandler",
5248
"open": "Boolean",
5349
"playsInline": "Boolean",
54-
//"property": TODO what is this?
5550
"readOnly": "Boolean",
5651
"required": "Boolean",
57-
//"resource": TODO what is this?
5852
"reversed": "Boolean",
5953
"rows": "Number",
6054
"rowSpan": "Number",

0 commit comments

Comments
 (0)