p5.js-web-editor/client/modules/IDE/components/TextOutput.jsx

39 lines
820 B
React
Raw Normal View History

import React from 'react';
2016-08-15 16:12:25 +00:00
class TextOutput extends React.Component {
componentDidMount() {
this.TextOutputModal.focus();
}
2016-08-15 16:12:25 +00:00
render() {
return (
2016-08-15 22:06:09 +00:00
<section
id="textOutput-content"
ref={(element) => { this.TextOutputModal = element; }}
2016-08-15 22:06:09 +00:00
>
<h2> Text Output </h2>
2016-08-15 22:06:09 +00:00
<p
tabIndex="0"
2016-08-24 17:10:06 +00:00
role="main"
2016-08-15 22:06:09 +00:00
id="textOutput-content-summary"
aria-label="text output summary"
>
</p>
2016-08-16 01:09:47 +00:00
<table
id="textOutput-content-table"
summary="text output details"
2016-08-15 22:06:09 +00:00
>
2016-08-15 16:12:25 +00:00
</table>
<div
tabIndex="0"
role="main"
id="textOutput-content-details"
aria-label="text output details"
>
</div>
2016-08-15 22:06:09 +00:00
</section>
2016-08-15 16:12:25 +00:00
);
}
}
export default TextOutput;