Change import icon

This commit is contained in:
Prem Kumar Easwaran 2023-10-16 11:19:55 +05:30
parent a9459bc236
commit 1244716b9b
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import { toastError } from 'utils/common/error';
import usePrevious from 'hooks/usePrevious'; import usePrevious from 'hooks/usePrevious';
import EnvironmentDetails from './EnvironmentDetails'; import EnvironmentDetails from './EnvironmentDetails';
import CreateEnvironment from '../CreateEnvironment'; import CreateEnvironment from '../CreateEnvironment';
import { IconUpload } from '@tabler/icons'; import { IconDownload } from '@tabler/icons';
import ImportEnvironment from '../ImportEnvironment'; import ImportEnvironment from '../ImportEnvironment';
import StyledWrapper from './StyledWrapper'; import StyledWrapper from './StyledWrapper';
@ -73,7 +73,7 @@ const EnvironmentList = ({ collection }) => {
</div> </div>
<div className="mt-auto flex items-center btn-import-environment" onClick={() => setOpenImportModal(true)}> <div className="mt-auto flex items-center btn-import-environment" onClick={() => setOpenImportModal(true)}>
<IconUpload size={12} strokeWidth={2} /> <IconDownload size={12} strokeWidth={2} />
<span className="label ml-1 text-xs">Import</span> <span className="label ml-1 text-xs">Import</span>
</div> </div>
</div> </div>

View File

@ -2,7 +2,7 @@ import { useState } from 'react';
import toast from 'react-hot-toast'; import toast from 'react-hot-toast';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import { openCollection, importCollection } from 'providers/ReduxStore/slices/collections/actions'; import { openCollection, importCollection } from 'providers/ReduxStore/slices/collections/actions';
import { IconBrandGithub, IconPlus, IconUpload, IconFolders, IconSpeakerphone, IconBook } from '@tabler/icons'; import { IconBrandGithub, IconPlus, IconDownload, IconFolders, IconSpeakerphone, IconBook } from '@tabler/icons';
import Bruno from 'components/Bruno'; import Bruno from 'components/Bruno';
import CreateCollection from 'components/Sidebar/CreateCollection'; import CreateCollection from 'components/Sidebar/CreateCollection';
@ -69,7 +69,7 @@ const Welcome = () => {
<span className="label ml-2">Open Collection</span> <span className="label ml-2">Open Collection</span>
</div> </div>
<div className="flex items-center ml-6" onClick={() => setImportCollectionModalOpen(true)}> <div className="flex items-center ml-6" onClick={() => setImportCollectionModalOpen(true)}>
<IconUpload size={18} strokeWidth={2} /> <IconDownload size={18} strokeWidth={2} />
<span className="label ml-2" id="import-collection"> <span className="label ml-2" id="import-collection">
Import Collection Import Collection
</span> </span>