You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
619 B
29 lines
619 B
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( |
|
<> |
|
{ |
|
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 |
|
} |
|
</> |
|
); |
|
} |