forked from binary-com/deriv-app
-
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.
Merge pull request #36 from likhith-deriv/likhith/76945/migrate-wizar…
…d-component-to-ts Likhith/76945/migrate wizard component to ts
- Loading branch information
Showing
4 changed files
with
40 additions
and
49 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...omponents/src/components/wizard/index.tsx → ...components/src/components/wizard/index.ts
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import Wizard from './wizard.jsx'; | ||
import Wizard from './wizard'; | ||
import './wizard.scss'; | ||
|
||
export default Wizard; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import classNames from 'classnames'; | ||
|
||
const Step = ({ children = [], className }: React.PropsWithChildren<{ className?: string }>) => ( | ||
<div className={classNames('wizard__main-step', className)}>{children}</div> | ||
); | ||
|
||
export default Step; |
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