Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Remove dupllicate “Screen” in screen template
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Laco committed Oct 2, 2018
1 parent 62e816e commit 780cee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/screen.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { color } from "../../../theme"
<% } -%>
import { NavigationScreenProps } from "react-navigation"

export interface <%= props.pascalName %>ScreenProps extends NavigationScreenProps<{}> {
export interface <%= props.pascalName %>Props extends NavigationScreenProps<{}> {
}

const ROOT: ViewStyle = {
Expand All @@ -25,7 +25,7 @@ const ROOT: ViewStyle = {

// @inject("mobxstuff")
@observer
export class <%= props.pascalName %> extends React.Component<<%= props.pascalName %>ScreenProps, {}> {
export class <%= props.pascalName %> extends React.Component<<%= props.pascalName %>Props, {}> {
render () {
return (
<Screen style={ROOT} preset="fixedCenter">
Expand Down

0 comments on commit 780cee6

Please sign in to comment.