This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,492 additions
and
1,463 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
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
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,12 +1,14 @@ | ||
import React from 'react' | ||
|
||
import { boolean } from '@storybook/addon-knobs' | ||
// TODO (@veado) Replace knobs | ||
// import { boolean } from '@storybook/addon-knobs' | ||
import { storiesOf } from '@storybook/react' | ||
import * as O from 'fp-ts/lib/Option' | ||
|
||
import { HeaderLock } from './HeaderLock' | ||
|
||
storiesOf('Components/HeaderLock', module).add('desktop / mobile', () => { | ||
const isDesktopView = boolean('isDesktopView', false) | ||
return <HeaderLock isDesktopView={isDesktopView} keystore={O.none} /> | ||
// const isDesktopView = boolean('isDesktopView', false) | ||
// return <HeaderLock isDesktopView={isDesktopView} keystore={O.none} /> | ||
return <HeaderLock isDesktopView={false} keystore={O.none} /> | ||
}) |
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
8 changes: 5 additions & 3 deletions
8
src/renderer/components/header/settings/HeaderSettings.stories.tsx
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,11 +1,13 @@ | ||
import React from 'react' | ||
|
||
import { boolean } from '@storybook/addon-knobs' | ||
// TODO (@veado) Replace knobs | ||
// import { boolean } from '@storybook/addon-knobs' | ||
import { storiesOf } from '@storybook/react' | ||
|
||
import { HeaderSettings } from './HeaderSettings' | ||
|
||
storiesOf('Components/HeaderSettings', module).add('desktop / mobile', () => { | ||
const isDesktopView = boolean('isDesktopView', false) | ||
return <HeaderSettings isDesktopView={isDesktopView} /> | ||
// const isDesktopView = boolean('isDesktopView', false) | ||
// return <HeaderSettings isDesktopView={isDesktopView} /> | ||
return <HeaderSettings isDesktopView={true} /> | ||
}) |
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,11 +1,13 @@ | ||
import React from 'react' | ||
|
||
import { boolean } from '@storybook/addon-knobs' | ||
// TODO (@veado) Replace knobs | ||
// import { boolean } from '@storybook/addon-knobs' | ||
import { storiesOf } from '@storybook/react' | ||
|
||
import { HeaderTheme } from './HeaderTheme' | ||
|
||
storiesOf('Components/HeaderTheme', module).add('desktop / mobile', () => { | ||
const isDesktopView = boolean('isDesktopView', false) | ||
return <HeaderTheme isDesktopView={isDesktopView} /> | ||
// const isDesktopView = boolean('isDesktopView', false) | ||
// return <HeaderTheme isDesktopView={isDesktopView} /> | ||
return <HeaderTheme isDesktopView={true} /> | ||
}) |
Oops, something went wrong.