2016-05-30 16:55:32 -07:00
|
|
|
import React from 'react';
|
2016-06-16 19:20:36 -03:00
|
|
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
2016-05-30 16:55:32 -07:00
|
|
|
|
2016-06-16 19:20:36 -03:00
|
|
|
export default function UnknownPreview({ field }) {
|
|
|
|
return <div>No preview for widget '{field.get('widget')}'.</div>;
|
2016-05-30 16:55:32 -07:00
|
|
|
}
|
2016-06-16 19:20:36 -03:00
|
|
|
|
|
|
|
UnknownPreview.propTypes = {
|
|
|
|
field: ImmutablePropTypes.map,
|
|
|
|
};
|