-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(newOnboarding): display onboarding on eclaireurs page
- Loading branch information
1 parent
08b9f31
commit 7b1259a
Showing
4 changed files
with
18 additions
and
9 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
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,5 @@ | ||
const REDIRECTED_PATH = '?pk_campaign=installed'; | ||
|
||
const isRedirectedFromExtensionInstall = | ||
window.location.search === REDIRECTED_PATH; | ||
export default isRedirectedFromExtensionInstall; |
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,17 +1,13 @@ | ||
import React from 'react'; | ||
import { storiesOf } from '@storybook/react'; | ||
import { GridContainer, GridItem } from './'; | ||
import { number, text, withKnobs } from '@storybook/addon-knobs'; | ||
import { text, withKnobs } from '@storybook/addon-knobs'; | ||
|
||
storiesOf('Components/Atoms/Grid', module) | ||
.addDecorator(withKnobs) | ||
.add('normal', () => ( | ||
<GridContainer> | ||
<GridItem col={number('col1 size', 1)}> | ||
{text('text col1', 'Some Title')} | ||
</GridItem> | ||
<GridItem col={number('col2 size', 1)}> | ||
{text('text col2', 'Some Title')} | ||
</GridItem> | ||
<GridItem>{text('text col1', 'Some Title')}</GridItem> | ||
<GridItem>{text('text col2', 'Some Title')}</GridItem> | ||
</GridContainer> | ||
)); |
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