Skip to content

Commit

Permalink
imp: Add titlePlaceholder in template.config.js (#26218)
Browse files Browse the repository at this point in the history
Summary:
In the latest `react-native-cli` we've added more flexibility for setting application title. New config key was introduced - `titlePlaceholder` - which will be changed during init process.

PR: react-native-community/cli#650

## Changelog

[General] [Added] - Introduce `titlePlaceholder` for template configuration.
Pull Request resolved: #26218

Test Plan: Initialization works with the default template

Differential Revision: D17091492

Pulled By: shergin

fbshipit-source-id: 239110f2ad6f817d750575fa366ab49d146b36c1
  • Loading branch information
Esemesek authored and facebook-github-bot committed May 12, 2020
1 parent b4785e5 commit 8ffa180
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@

module.exports = {
placeholderName: 'HelloWorld',
titlePlaceholder: 'Hello App Display Name',
templateDir: './template',
};

0 comments on commit 8ffa180

Please sign in to comment.