|
1 | 1 | import _ from 'lodash' |
| 2 | +import React from 'react' |
2 | 3 | import { Icons } from 'appirio-tech-react-components' |
| 4 | +import SVGIconImage from '../../components/SVGIconImage' |
3 | 5 | import NumberText from '../../components/NumberText/NumberText' |
4 | 6 | import { findProduct} from '../projectWizard' |
5 | 7 |
|
@@ -55,9 +57,9 @@ const sections = [ |
55 | 57 | fieldName: 'details.appDefinition.testType', |
56 | 58 | type: 'tiled-radio-group', |
57 | 59 | options: [ |
58 | | - {value: 'unstructured', title: 'Unstructured', icon: Icons.IconTechOutlineMobile, iconOptions: { fill: '#00000'}, desc: ''}, |
59 | | - {value: 'structured', title: 'Structured', icon: Icons.IconTechOutlineTablet, iconOptions: { fill: '#00000'}, desc: ''}, |
60 | | - {value: 'dontKnow', title: 'Do not know', icon: 'icon-dont-know', iconOptions: { fill: '#00000'}, desc: ''} |
| 60 | + {value: 'unstructured', title: 'Unstructured', icon: SVGIconImage, iconOptions: { filePath: 'icon-test-unstructured', fill: '#00000'}, desc: ''}, |
| 61 | + {value: 'structured', title: 'Structured', icon: SVGIconImage, iconOptions: { filePath: 'icon-test-structured', fill: '#00000'}, desc: ''}, |
| 62 | + {value: 'dontKnow', title: 'Do not know', icon: SVGIconImage, iconOptions: { filePath: 'icon-dont-know', fill: '#00000'}, desc: ''} |
61 | 63 | ] |
62 | 64 | }, |
63 | 65 | { |
@@ -273,9 +275,9 @@ export const basicSections = [ |
273 | 275 | fieldName: 'details.appDefinition.testType', |
274 | 276 | type: 'tiled-radio-group', |
275 | 277 | options: [ |
276 | | - {value: 'unstructured', title: 'Unstructured', icon: Icons.IconTechOutlineMobile, iconOptions: { fill: '#00000'}, desc: ''}, |
277 | | - {value: 'structured', title: 'Structured', icon: Icons.IconTechOutlineTablet, iconOptions: { fill: '#00000'}, desc: ''}, |
278 | | - {value: 'dontKnow', title: 'Do not know', icon: 'icon-dont-know', iconOptions: { fill: '#00000'}, desc: ''} |
| 278 | + {value: 'unstructured', title: 'Unstructured', icon: SVGIconImage, iconOptions: { filePath: 'icon-test-unstructured', fill: '#00000'}, desc: ''}, |
| 279 | + {value: 'structured', title: 'Structured', icon: SVGIconImage, iconOptions: { filePath: 'icon-test-structured', fill: '#00000'}, desc: ''}, |
| 280 | + {value: 'dontKnow', title: 'Do not know', icon: SVGIconImage, iconOptions: { filePath: 'icon-dont-know', fill: '#00000'}, desc: ''} |
279 | 281 | ] |
280 | 282 | }, |
281 | 283 | { |
@@ -325,7 +327,7 @@ export const basicSections = [ |
325 | 327 | {value: 'upto5', title: 'configurations', icon: NumberText, iconOptions: { number: '5' }, desc: 'or fewer'}, |
326 | 328 | {value: 'upTo10', title: 'configurations', icon: NumberText, iconOptions: { number: '10' }, desc: 'or fewer'}, |
327 | 329 | {value: 'upTo20', title: 'configurations', icon: NumberText, iconOptions: { number: '20' }, desc: 'or fewer'}, |
328 | | - {value: 'dontKnow', title: 'Do not know', icon: Icons.IconTechOutlineWatchApple, iconOptions: { fill: '#00000'}, desc: 'We will find the best fit for you.'} |
| 330 | + {value: 'dontKnow', title: 'Do not know', icon: SVGIconImage, iconOptions: { filePath: 'icon-dont-know', fill: '#00000'}, desc: 'We will find the best fit for you.'} |
329 | 331 | ] |
330 | 332 | } |
331 | 333 | { |
|
0 commit comments