diff --git a/packages/frontend/src/components/projects/create/TemplateCard.tsx b/packages/frontend/src/components/projects/create/TemplateCard.tsx index 3625b64..a107328 100644 --- a/packages/frontend/src/components/projects/create/TemplateCard.tsx +++ b/packages/frontend/src/components/projects/create/TemplateCard.tsx @@ -1,10 +1,9 @@ import React from 'react'; import toast from 'react-hot-toast'; - -import { IconButton, Typography } from '@material-tailwind/react'; - import { Link } from 'react-router-dom'; +import { ReactNativeIcon, ChevronRight } from 'components/shared/CustomIcon'; + interface TemplateDetails { id: string; name: string; @@ -17,18 +16,15 @@ interface TemplateCardProps { const CardDetails = ({ template }: { template: TemplateDetails }) => { return ( -
- - {template.icon} {template.name} - +
+ +
+ {template.name} +
- - {'>'} - +
+ +
); diff --git a/packages/frontend/src/components/shared/CustomIcon/CalendarIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/CalendarIcon.tsx index 6a51210..e697fb8 100644 --- a/packages/frontend/src/components/shared/CustomIcon/CalendarIcon.tsx +++ b/packages/frontend/src/components/shared/CustomIcon/CalendarIcon.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { CustomIcon, CustomIconProps } from './CustomIcon'; -export const CalendarIcon = (props: CustomIconProps) => { +export const CalendarIcon: React.FC = (props) => { return ( { +export const CheckIcon: React.FC = (props) => { return ( { +export const CheckRoundFilledIcon: React.FC = (props) => { return ( { +export const ChevronGrabberHorizontal: React.FC = (props) => { return ( { +export const ChevronLeft: React.FC = (props) => { return ( { +export const ChevronRight: React.FC = (props) => { return ( { +export const CrossIcon: React.FC = (props) => { return ( { name?: string; } -export const CustomIcon = ({ +export const CustomIcon: React.FC = ({ children, width = 24, height = 24, diff --git a/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx index cf82caa..7a7abe8 100644 --- a/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx +++ b/packages/frontend/src/components/shared/CustomIcon/FolderIcon.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { CustomIcon, CustomIconProps } from './CustomIcon'; -export const FolderIcon = (props: CustomIconProps) => { +export const FolderIcon: React.FC = (props) => { return ( { +export const GlobeIcon: React.FC = (props) => { return ( { +export const InfoRoundFilledIcon: React.FC = (props) => { return ( { +export const InfoSquareIcon: React.FC = (props) => { return ( { +export const LifeBuoyIcon: React.FC = (props) => { return ( { +export const LoadingIcon: React.FC = (props) => { return ( { +export const PlusIcon: React.FC = (props) => { return ( { +export const QuestionMarkRoundIcon: React.FC = (props) => { return ( = (props) => { + return ( + + + + + + + ); +}; diff --git a/packages/frontend/src/components/shared/CustomIcon/SearchIcon.tsx b/packages/frontend/src/components/shared/CustomIcon/SearchIcon.tsx index 7688adc..30f7dba 100644 --- a/packages/frontend/src/components/shared/CustomIcon/SearchIcon.tsx +++ b/packages/frontend/src/components/shared/CustomIcon/SearchIcon.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { CustomIcon, CustomIconProps } from './CustomIcon'; -export const SearchIcon = (props: CustomIconProps) => { +export const SearchIcon: React.FC = (props) => { return ( { +export const SettingsSlidersIcon: React.FC = (props) => { return ( { +export const WarningIcon: React.FC = (props) => { return (