static-cms/src/components/Widgets/UnknownPreview.js
2016-06-30 17:28:47 -03:00

11 lines
276 B
JavaScript

import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
export default function UnknownPreview({ field }) {
return <div>No preview for widget '{field.get('widget')}'.</div>;
}
UnknownPreview.propTypes = {
field: ImmutablePropTypes.map,
};