'use strict';

const React = require("react");
const createReactClass = require("create-react-class");

const GenericAstItem = require("./generic-item");

module.exports = createReactClass({
	displayName: "AstView",
	render: function () {
		return (
			<GenericAstItem data={this.props.ast} />
		);
	}
});
