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

Commit

Permalink
Merge pull request #108 from infinitered/screen-duplicate
Browse files Browse the repository at this point in the history
Remove duplicate “Screen” in screen template
  • Loading branch information
morgandonze authored Oct 2, 2018
2 parents 62e816e + 780cee6 commit a85251f
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 a85251f

Please sign in to comment.