Add Form preview rudimentary component
[MAILPOET-2602]
This commit is contained in:
committed by
Jack Kitterhing
parent
8439b8cb2e
commit
176ecef4f7
19
assets/js/src/common/preview.jsx
Normal file
19
assets/js/src/common/preview.jsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
|
||||
function Preview({
|
||||
children,
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Preview.propTypes = {
|
||||
children: PropTypes.node.isRequired,
|
||||
};
|
||||
|
||||
export default Preview;
|
Reference in New Issue
Block a user