static-cms/src/components/Widgets/UnknownPreview.js

10 lines
207 B
JavaScript
Raw Normal View History

2016-05-30 16:55:32 -07:00
import React from 'react';
export default class UnknownPreview extends React.Component {
render() {
const { field } = this.props;
return <div>No preview for widget '{field.widget}'.</div>;
}
}