import { Icon } from "..";
import { __ } from "@wordpress/i18n"
const TabHeader = ({ title }) => {
const docLinks = [
{
name: __('View Website', 'benevolent'),
link: cw_dashboard.website,
icon: "globe"
},
{
name: __('View Tutorials ', 'benevolent'),
link: cw_dashboard.videotutorial,
icon: "youtube"
},
{
name: __('Contact Support', 'benevolent'),
link: cw_dashboard.support,
icon: "support"
},
{
name: __('Docs', 'benevolent'),
link: cw_dashboard.docmentation,
icon: "doc"
}
];
const docLinkListing = () => {
return docLinks.map((list, index) => (
));
};
return (
<>
{title}
{cw_dashboard.theme_version}
{docLinkListing()}
>
)
}
export default TabHeader;