import React from 'react';
import { PropertiesTable, registerWidget } from '../Value';
import { Heading } from '../widgetUtils';
registerWidget('component', function (_a) {
    var value = _a.value, doc = _a.doc, meta = _a.meta;
    return (React.createElement(React.Fragment, null,
        React.createElement(Heading, { headingOffset: 1 }, "Props"),
        React.createElement(PropertiesTable, { properties: value.props })));
});
