/* * @Author: your name * @Date: 2022-04-21 10:57:31 * @Description: * @FilePath: /zl-large-screen/src/components/LargeScreenElement/LargeScreenElementCards/index.tsx */ import React from 'react'; import { ILargeScreenElementCardsProps } from '../../../type/LargeScreenElement'; import SearchInput from '../../SearchInput/index'; import LargeScreenElementSubMenu from '../LargeScreenElementSubMenu/index'; import LargeScreenElementCardList from '../LargeScreenElementCardList/index'; import LargeScreenComponent from '../../LargeScreenComponent/index'; const LargeScreenElementCards: React.FC = ( props ) => { const { search, structure, subList, subSilderClick, cardList, dragStart, sidebarDetail, cardStyle, componentLoading, sidebarDetailEvent, doubleClick, sceneEvent, cardMouseDown } = props; return (
{structure && structure?.includes('search') ? ( ) : null}
{structure && structure?.includes('subSilder') ? ( <> ) : null} {structure && structure?.includes('cardList') ? ( ) : null} {structure && structure?.includes('component') ? ( ) : null}
); }; export default LargeScreenElementCards;