import React from 'react';
import Tabs from '../index';
import TabPane from '../TabPane';
const Demo = () => {
const tabPaneList = [
'a',
'b',
'c'
];
return (
{
return (
这是二次封装的Tab Bar,当前ActiveKey:{tabBarProps.activeKey}
);
}}
tabPaneMotion>
{
tabPaneList.map((item, index) => {
return (
{ item + index }
);
})
}
);
};
export default Demo;