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

10 lines
184 B
JavaScript
Raw Normal View History

2016-09-11 23:07:48 +02:00
import React, { PropTypes } from 'react';
export default function StringPreview({ value }) {
return <span>{value}</span>;
}
StringPreview.propTypes = {
value: PropTypes.node,
};