import React from 'react';
import { st, classes } from './SocialPostPreview.st.css.js';
import { FacebookPost, InstagramPost } from './components';
const skinToPostComponentMap = {
    facebook: FacebookPost,
    instagram: InstagramPost,
};
/** SocialPostPreview */
const SocialPostPreview = ({ skin = 'facebook', className, dataHook, caption, media, profileName, profileImageSrc, }) => {
    const PostComponent = skinToPostComponentMap[skin];
    return (React.createElement("div", { "aria-hidden": "true", "data-hook": dataHook, "data-skin": skin, "data-profile": profileImageSrc, className: st(classes.root, {}, className) },
        React.createElement(PostComponent, { profileName, profileImageSrc, caption, media })));
};
SocialPostPreview.displayName = 'SocialPostPreview';
export default SocialPostPreview;
//# sourceMappingURL=SocialPostPreview.js.map