import React, { useState } from 'react'
import { Card, Button, Tabs } from 'antd';
import './index.less'
import Ad from './ad';
import Creative from './creative';
import Targeting from './targeting';
const { TabPane } = Tabs;
const tabsConfig = [
// { key: '1', tab: '计划模板',jsx: },
{ key: '1', tab: '广告模板',jsx:},
{ key: '2', tab: '创意模板' ,jsx:},
{ key: '3', tab: '定向模板' ,jsx:},
]
function LocalAd() {
const [activeKey, setActiveKey] = useState('1')
return
{ setActiveKey(activeKey) }} >
{
tabsConfig?.map(item => {
return
{item.jsx}
})
}
}
export default LocalAd