1
- import { Stack , SegmentedControl , Box , List , Text } from '@mantine/core' ;
1
+ import { Stack , SegmentedControl , Box , Text , Flex } from '@mantine/core' ;
2
2
import { Control , Controller , FieldErrors , UseFormSetError } from 'react-hook-form' ;
3
3
import { UploadDropzone } from '@ui/UploadDropzone' ;
4
4
import { WIDGET_TEXTS } from '@impler/client' ;
5
5
import { OnboardCreateTemplateModeEnum } from '@impler/shared' ;
6
6
import { useTemplateSchema } from '@hooks/useTemplateSchema' ;
7
7
import OnboardTemplateSchemaTable from './OnboardTemplateSchemaTable' ;
8
8
import SampleColumnsTable from './SampleColumnsTable' ;
9
+ import { colors } from '@config' ;
10
+ import { InformationIcon } from '@assets/icons/Information.icon' ;
9
11
10
12
interface ImportColumnsSectionProps {
11
13
control : Control < CreateOnboardImportFormData > ;
@@ -27,14 +29,10 @@ export default function ImportColumnsSection({ control, setError, errors }: Impo
27
29
{ templateSchema && templateSchema . length > 0 ? (
28
30
< Stack spacing = "md" >
29
31
< OnboardTemplateSchemaTable data = { templateSchema } />
30
- < List spacing = "xs" >
31
- < List . Item >
32
- < Text size = "md" > You will be able to Edit and delete Columns in Next Step</ Text >
33
- </ List . Item >
34
- < List . Item >
35
- < Text size = "md" > Your filewon't be stored anywhere</ Text >
36
- </ List . Item >
37
- </ List >
32
+ < Flex gap = "xs" >
33
+ < InformationIcon size = "md" color = { colors . yellow } />
34
+ < Text color = "dimmed" > You will be able to Edit and delete Columns in Next Step</ Text >
35
+ </ Flex >
38
36
</ Stack >
39
37
) : (
40
38
< >
0 commit comments