-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chore): added scoutbar tutorial icons in its seperate concern
- Loading branch information
1 parent
7c94718
commit 3aabddd
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
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,53 @@ | ||
import React from 'react'; | ||
import { ScoutBarProps } from 'scoutbar'; | ||
|
||
import { TutorialIcon } from 'components/icon/svg/tutorial'; | ||
import ScoutBarLogo from 'components/icon/svg/logo'; | ||
|
||
const ScoutTutorial: React.FC<Partial<ScoutBarProps>> = ({ | ||
brandColor, | ||
acknowledgement, | ||
}) => ( | ||
<div className="scout__bar-tutorial-section"> | ||
{acknowledgement && ( | ||
<div className="scout__bar-mobile-acknowledge"> | ||
<p> | ||
Powered by <ScoutBarLogo brandColor={brandColor} /> | ||
</p> | ||
</div> | ||
)} | ||
<div className="scout__bar-tutorial-section-item"> | ||
<p> | ||
<span> | ||
<TutorialIcon.Tab /> | ||
TAB | ||
</span> | ||
or{' '} | ||
<span className="scout__bar-tutorial-section-item__arrow m-left"> | ||
<TutorialIcon.Down /> | ||
</span> | ||
<span className="scout__bar-tutorial-section-item__arrow"> | ||
<TutorialIcon.Up /> | ||
</span> | ||
to navigate | ||
</p> | ||
</div> | ||
<div className="scout__bar-tutorial-section-item"> | ||
<p> | ||
<span> | ||
<TutorialIcon.Return /> | ||
RETURN | ||
</span> | ||
to Select | ||
</p> | ||
</div> | ||
<div className="scout__bar-tutorial-section-item"> | ||
<p> | ||
<span>ESC</span> | ||
to cancel | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default ScoutTutorial; |