UNPKG

react-cauldron

Version:

We have a library of components to display that you can expand on. We provide basic props and you can add in any extra props you wish.

2,137 lines (2,136 loc) 53.1 kB
{ "type": "File", "start": 0, "end": 352, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 20, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 352, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 20, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 41, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 41 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 } }, "local": { "type": "Identifier", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 }, "identifierName": "React" }, "name": "React" } }, { "type": "ImportSpecifier", "start": 16, "end": 25, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 25 } }, "imported": { "type": "Identifier", "start": 16, "end": 25, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 25 }, "identifierName": "PropTypes" }, "name": "PropTypes" }, "local": { "type": "Identifier", "start": 16, "end": 25, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 25 }, "identifierName": "PropTypes" }, "name": "PropTypes" } } ], "source": { "type": "StringLiteral", "start": 33, "end": 40, "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 40 } }, "extra": { "rawValue": "react", "raw": "'react'" }, "value": "react" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * A header level 4 component\n ", "start": 43, "end": 80, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 5, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 81, "end": 295, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 15, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 96, "end": 295, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 15, "column": 1 } }, "id": { "type": "Identifier", "start": 102, "end": 104, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 23 }, "identifierName": "H4" }, "name": "H4", "leadingComments": null }, "superClass": { "type": "MemberExpression", "start": 113, "end": 128, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 47 } }, "object": { "type": "Identifier", "start": 113, "end": 118, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 37 }, "identifierName": "React" }, "name": "React" }, "property": { "type": "Identifier", "start": 119, "end": 128, "loc": { "start": { "line": 6, "column": 38 }, "end": { "line": 6, "column": 47 }, "identifierName": "Component" }, "name": "Component" }, "computed": false }, "body": { "type": "ClassBody", "start": 129, "end": 295, "loc": { "start": { "line": 6, "column": 48 }, "end": { "line": 15, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 240, "end": 293, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 14, "column": 5 } }, "computed": false, "key": { "type": "Identifier", "start": 240, "end": 246, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 10 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "static": false, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 249, "end": 293, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 14, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 259, "end": 287, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 36 } }, "expression": { "type": "JSXElement", "start": 259, "end": 287, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 36 } }, "openingElement": { "type": "JSXOpeningElement", "start": 259, "end": 264, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 13 } }, "attributes": [], "name": { "type": "JSXIdentifier", "start": 260, "end": 262, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 11 } }, "name": "h4" }, "selfClosing": false }, "closingElement": { "type": "JSXClosingElement", "start": 282, "end": 287, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 36 } }, "name": { "type": "JSXIdentifier", "start": 284, "end": 286, "loc": { "start": { "line": 13, "column": 33 }, "end": { "line": 13, "column": 35 } }, "name": "h4" } }, "children": [ { "type": "JSXExpressionContainer", "start": 264, "end": 282, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 31 } }, "expression": { "type": "MemberExpression", "start": 265, "end": 281, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 30 } }, "object": { "type": "MemberExpression", "start": 265, "end": 275, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 24 } }, "object": { "type": "ThisExpression", "start": 265, "end": 269, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 18 } } }, "property": { "type": "Identifier", "start": 270, "end": 275, "loc": { "start": { "line": 13, "column": 19 }, "end": { "line": 13, "column": 24 }, "identifierName": "props" }, "name": "props" }, "computed": false }, "property": { "type": "Identifier", "start": 276, "end": 281, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 30 }, "identifierName": "title" }, "name": "title" }, "computed": false } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * pass in a `title` (string) prop to display a title\n * @return {ReactElement}\n ", "start": 135, "end": 234, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 10, "column": 7 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A header level 4 component\n ", "start": 43, "end": 80, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 5, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A header level 4 component\n ", "start": 43, "end": 80, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 5, "column": 3 } } } ] }, { "type": "EmptyStatement", "start": 295, "end": 296, "loc": { "start": { "line": 15, "column": 1 }, "end": { "line": 15, "column": 2 } } }, { "type": "ExpressionStatement", "start": 298, "end": 351, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 19, "column": 2 } }, "expression": { "type": "AssignmentExpression", "start": 298, "end": 350, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 19, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 298, "end": 310, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 12 } }, "object": { "type": "Identifier", "start": 298, "end": 300, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 2 }, "identifierName": "H4" }, "name": "H4" }, "property": { "type": "Identifier", "start": 301, "end": 310, "loc": { "start": { "line": 17, "column": 3 }, "end": { "line": 17, "column": 12 }, "identifierName": "PropTypes" }, "name": "PropTypes" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 313, "end": 350, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 19, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 319, "end": 348, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 33 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 319, "end": 324, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 9 }, "identifierName": "title" }, "name": "title" }, "value": { "type": "MemberExpression", "start": 326, "end": 348, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 33 } }, "object": { "type": "MemberExpression", "start": 326, "end": 341, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 26 } }, "object": { "type": "Identifier", "start": 326, "end": 331, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 16 }, "identifierName": "React" }, "name": "React" }, "property": { "type": "Identifier", "start": 332, "end": 341, "loc": { "start": { "line": 18, "column": 17 }, "end": { "line": 18, "column": 26 }, "identifierName": "PropTypes" }, "name": "PropTypes" }, "computed": false }, "property": { "type": "Identifier", "start": 342, "end": 348, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 33 }, "identifierName": "string" }, "name": "string" }, "computed": false } } ] } } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * A header level 4 component\n ", "start": 43, "end": 80, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * pass in a `title` (string) prop to display a title\n * @return {ReactElement}\n ", "start": 135, "end": 234, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 10, "column": 7 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "React", "start": 7, "end": 12, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 12 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12, "end": 13, "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14, "end": 15, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PropTypes", "start": 16, "end": 25, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26, "end": 27, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 28, "end": 32, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "react", "start": 33, "end": 40, "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 40, "end": 41, "loc": { "start": { "line": 1, "column": 40 }, "end": { "line": 1, "column": 41 } } }, { "type": "CommentBlock", "value": "*\n * A header level 4 component\n ", "start": 43, "end": 80, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 81, "end": 87, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 88, "end": 95, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 14 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 96, "end": 101, "loc": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "H4", "start": 102, "end": 104, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 105, "end": 112, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "React", "start": 113, "end": 118, "loc": { "start": { "line": 6, "column": 32 }, "end": { "line": 6, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 118, "end": 119, "loc": { "start": { "line": 6, "column": 37 }, "end": { "line": 6, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Component", "start": 119, "end": 128, "loc": { "start": { "line": 6, "column": 38 }, "end": { "line": 6, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 129, "end": 130, "loc": { "start": { "line": 6, "column": 48 }, "end": { "line": 6, "column": 49 } } }, { "type": "CommentBlock", "value": "*\n * pass in a `title` (string) prop to display a title\n * @return {ReactElement}\n ", "start": 135, "end": 234, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 10, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 240, "end": 246, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 246, "end": 247, "loc": { "start": { "line": 12, "column": 10 }, "end": { "line": 12, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 247, "end": 248, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 249, "end": 250, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 14 } } }, { "type": { "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 259, "end": 260, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 9 } } }, { "type": { "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "h4", "start": 260, "end": 262, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 11 } } }, { "type": { "label": "jsxTagEnd", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 263, "end": 264, "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 264, "end": 265, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 265, "end": 269, "loc": { "start": { "line": 13, "column": 14 }, "end": { "line": 13, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 269, "end": 270, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "props", "start": 270, "end": 275, "loc": { "start": { "line": 13, "column": 19 }, "end": { "line": 13, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 275, "end": 276, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "title", "start": 276, "end": 281, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 281, "end": 282, "loc": { "start": { "line": 13, "column": 30 }, "end": { "line": 13, "column": 31 } } }, { "type": { "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 282, "end": 283, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 32 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 283, "end": 284, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 33 } } }, { "type": { "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "h4", "start": 284, "end": 286, "loc": { "start": { "line": 13, "column": 33 }, "end": { "line": 13, "column": 35 } } }, { "type": { "label": "jsxTagEnd", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 286, "end": 287, "loc": { "start": { "line": 13, "column": 35 }, "end": { "line": 13, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 292, "end": 293, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 294, "end": 295, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 295, "end": 296, "loc": { "start": { "line": 15, "column": 1 }, "end": { "line": 15, "column": 2 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "H4", "start": 298, "end": 300, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 2 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 300, "end": 301, "loc": { "start": { "line": 17, "column": 2 }, "end": { "line": 17, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PropTypes", "start": 301, "end": 310, "loc": { "start": { "line": 17, "column": 3 }, "end": { "line": 17, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 311, "end": 312, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 313, "end": 314, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "title", "start": 319, "end": 324, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 9 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 324, "end": 325, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "React", "start": 326, "end": 331, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 331, "end": 332, "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 17 }