This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
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.
### Version 0.28.0 (Navigation Drawer for Resources/Metadata)
#### Features - Add navigation drawer for switching between stored Resources and Metadata - "Review metadata.xml" (in drawer) now opens in electron's native Chrome browser - "Review metadata.xml" auto-refreshes when the metadata.xml changes on disk - "Review metadata.xml" windows allows File > Save To - dbl_dot_local_app 2/25/2019 (video/braille wizard fixes) (Merge branch 'add_drawer_navigation')
- Loading branch information
Showing
27 changed files
with
876 additions
and
365 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React, { Component } from 'react'; | ||
|
||
type Props = { | ||
showHOC: boolean, | ||
children: React.Node | ||
}; | ||
|
||
export default class Conditionally extends Component<Props> { | ||
props: Props; | ||
render() { | ||
const { showHOC, children: hoc } = this.props; | ||
return ( | ||
<React.Fragment>{showHOC ? hoc : hoc.props.children}</React.Fragment> | ||
); | ||
} | ||
} |
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
Oops, something went wrong.