parent
de02a9aa00
commit
b5e5ee0d9c
27 changed files with 529 additions and 203 deletions
@ -1,29 +1,17 @@ |
||||
import React from 'react'; |
||||
import Flex from '../Flex/index'; |
||||
import Simple from '../Simple/index'; |
||||
import Vitrin from '../Vitrin/index'; |
||||
import Column from '../3D/index'; |
||||
import React from "react"; |
||||
import Flex from "../Flex/index"; |
||||
import Simple from "../Simple/index"; |
||||
import Vitrin from "../Vitrin/index"; |
||||
import Column from "../3D/index"; |
||||
|
||||
export default function Identifier(props){ |
||||
const {data} = props; |
||||
return( |
||||
export default function Identifier(props) { |
||||
const { data, status } = props; |
||||
return ( |
||||
<> |
||||
{ |
||||
data.design === 'flex' ? |
||||
<Flex data={data} /> : null |
||||
} |
||||
{ |
||||
data.design === 'simple' ? |
||||
<Simple data={data} /> : null |
||||
} |
||||
{ |
||||
data.design === 'vitrin' ? |
||||
<Vitrin data={data} /> : null |
||||
} |
||||
{ |
||||
data.design === '3d' ? |
||||
<Column data={data} /> : null
|
||||
} |
||||
{data.design === "flex" ? <Flex data={data} /> : null} |
||||
{data.design === "simple" ? <Simple data={data} status={status} /> : null} |
||||
{data.design === "vitrin" ? <Vitrin data={data} /> : null} |
||||
{data.design === "3d" ? <Column data={data} /> : null} |
||||
</> |
||||
); |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue