UNPKG

@brizy/ui

Version:
9 lines (8 loc) 809 B
import React from "react"; import { classNames } from "../../classNamesFn"; import { BRZ_PREFIX } from "../../constants"; export const FacebookPage = ({ appID, lang, width, tabs, height, smallHeader, hideCover, adaptContainerWidth, showFacepile, href, className, }) => { const _className = classNames(className)("fb", "fb-page", "fb-styles"); return (React.createElement("div", { className: _className }, React.createElement("div", Object.assign({ className: `${BRZ_PREFIX}-facebook fb-page`, "data-appid": appID, "data-href": href, "data-width": width, "data-tabs": tabs, "data-height": height, "data-hide-cover": hideCover, "data-small-header": smallHeader, "data-show-facepile": showFacepile, "data-adapt-container-width": adaptContainerWidth }, (lang ? { "data-lang": lang } : {}))))); };