11 lines
276 B
JavaScript
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,
|
|
};
|