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