-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: refactor, handle process section
- Loading branch information
Showing
9 changed files
with
170 additions
and
63 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
import { ReactComponent as LockIcon } from 'assets/images/dex-v2/lock.svg' | ||
import { ReactComponent as DocumentsIcon } from 'assets/images/dex-v2/documents.svg' | ||
import { ReactComponent as LoadingIcon } from 'assets/images/dex-v2/loading.svg' | ||
import { ReactComponent as CheckOutline } from 'assets/images/check-success.svg' | ||
import { FunctionComponent, SVGProps } from 'react' | ||
|
||
export type Step = { | ||
label: string, | ||
icon: FunctionComponent<SVGProps<SVGSVGElement>>, | ||
} | ||
|
||
const NotGranted: Step = { | ||
label: 'Allowance not granted for IXS', | ||
icon: LockIcon, | ||
} | ||
|
||
const Granting: Step = { | ||
label: 'Contracts to access IXS', | ||
icon: DocumentsIcon, | ||
} | ||
|
||
const Locking: Step = { | ||
label: 'Waiting for pending actions', | ||
icon: LoadingIcon, | ||
} | ||
|
||
const Completed: Step = { | ||
label: 'Lock Created', | ||
icon: CheckOutline, | ||
} | ||
|
||
export const createLockSteps = [ | ||
NotGranted, | ||
Granting, | ||
Locking, | ||
Completed, | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters