onInstanceChange: PropTypes.func.isRequired, onPreviewTextChange: PropTypes.func.isRequired, onPropertyChange: PropTypes.func.isRequired, onToggleFontHighlight: PropTypes.func.isRequired, }; } render() { const { fontData, fontEditor, fontOptions, onInstanceChange, onPreviewTextChange, onPropertyChange, onToggleFontHighlight, } = this.props; return dom.div( { className: "theme-sidebar inspector-tabpanel", id: "sidebar-panel-fontinspector", }, FontEditor({ fontEditor, onInstanceChange, onPropertyChange, onToggleFontHighlight, }), FontOverview({ fontData, fontOptions, onPreviewTextChange, onToggleFontHighlight, }) ); } } module.exports = connect(state => state)(FontsApp); PK