Skip to content

Commit

Permalink
fix: 폴더명 컨벤션에 맞게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Yejiin21 committed Feb 2, 2025
1 parent ff576e7 commit 5fa16cc
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 1 deletion.
3 changes: 3 additions & 0 deletions design-system/icons/Link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions design-system/icons/QrBackground.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions design-system/icons/QrCode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions design-system/icons/Search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions design-system/icons/Trash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/features/event-manage/ui/EventFunnel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import EventTagPage from '../../../pages/event-manage/ui/EventTagPage';
import EventOrganizerInfoPage from '../../../pages/event-manage/ui/EventOrganizerInfoPage';
import EventRegisterLayout from '../../../shared/ui/backgrounds/EventRegisterLayout';
import { useNavigate } from 'react-router-dom';
import { EventFunnelInterface, StepNames } from '../../../shared/types/funnelType';
import { EventFunnelInterface, StepNames } from '../../../shared/types/FunnelType';
import { useFunnelState } from '../model/FunnelContext';

const EventFunnel = ({ onNext, onPrev, Funnel, Step, currentStep }: EventFunnelInterface) => {
Expand Down
21 changes: 21 additions & 0 deletions src/shared/types/funnelType.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { FunnelProps, StepProps } from '../../features/event-manage/hooks/useFunnel';

export enum StepNames {
HostSelection = 'HostSelection',
HostCreation = 'HostCreation',
EventTitle = 'EventTitle',
EventPeriod = 'EventPeriod',
EventOrganizerInfo = 'EventOrganizerInfo',
EventInfo = 'EventInfo',
EventType = 'EventType',
EventTag = 'EventTag',
}

export interface EventFunnelInterface {
onNext: (nextStep: string) => void;
onPrev: (prevStep: string) => void;
Funnel: React.FC<FunnelProps>;
Step: React.FC<StepProps>;
setStep: (step: number) => void;
currentStep: number;
}

0 comments on commit 5fa16cc

Please sign in to comment.