Skip to content

Instantly share code, notes, and snippets.

@alliejones
Created August 7, 2019 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alliejones/643a44edd08da7297f83200681508a7b to your computer and use it in GitHub Desktop.
Save alliejones/643a44edd08da7297f83200681508a7b to your computer and use it in GitHub Desktop.
{
"assetVersion": "1976b95f7620d99923d9",
"locale": "en-US",
"view-id-1": {
"name": "web-toolkit-v2/modules/buttons/react/WtButton",
"data": {
"children": "I am a button"
}
},
"view-id-2": {
"name": "web-toolkit-v2/modules/buttons/react/WtButton",
"data": {
"children": "I'm a different button!",
"small": true,
"styleType": "filled"
}
},
"view-id-3": {
"name": "web-toolkit-v2/modules/content-toggles/react/WtAccordion",
"data": {
"children": "This is accordion content"
}
}
}
{
"success": true,
"error": null,
"results": {
"view-id-1": {
"name": "web-toolkit-v2/modules/buttons/react/WtButton",
"html": "<button class=\"wt-btn\" data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"1784683411\">I am a button</button>",
"meta": {},
"duration": 0.422126,
"statusCode": 200,
"success": true,
"error": null
},
"view-id-2": {
"name": "web-toolkit-v2/modules/buttons/react/WtButton",
"html": "<button class=\"wt-btn wt-btn--filled wt-btn--small\" data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"-1971508572\">I&#x27;m a different button!</button>",
"meta": {},
"duration": 0.34921,
"statusCode": 200,
"success": true,
"error": null
},
"view-id-3": {
"name": "web-toolkit-v2/modules/content-toggles/react/WtAccordion",
"html": "<div data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"-613431485\"><button aria-controls=\"wt-content-toggle-11d96cf5-f2bc-4bae-8ddc-d6ee217560d0\" aria-expanded=\"false\" class=\"wt-btn wt-btn--transparent wt-content-toggle--btn wt-content-toggle--with-icon\" data-reactid=\"2\"><span class=\"wt-flex-xs-auto wt-width-full\" data-reactid=\"3\"></span><span class=\"wt-content-toggle--btn__icon\" aria-hidden=\"true\" data-reactid=\"4\"></span></button><div id=\"wt-content-toggle-11d96cf5-f2bc-4bae-8ddc-d6ee217560d0\" class=\"wt-content-toggle__body\" aria-hidden=\"true\" data-reactid=\"5\">This is accordion content</div></div>",
"meta": {},
"duration": 4.978245,
"statusCode": 200,
"success": true,
"error": null
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment