import useTabs from "./useTabs"; import { TabHeader, Icon } from ".."; import { proLogo, logo } from "../images"; import { __ } from '@wordpress/i18n'; const Tab = ({ tabsData, onChange, activeTabTitle }) => { const { renderTabs, renderContent } = useTabs(tabsData, 0, onChange); const GetPro = () => { return ( <>
{__('Pro

{__('Get access to all unlimited features.', 'blossom-feminine')}

{__('Get Pro')}
); } return (
{__('Logo',
{renderTabs()}
{GetPro()}
{renderContent()}
); }; export default Tab;