From 8ffa180d80b9c9acb76a0631b5a709d2c0adcd86 Mon Sep 17 00:00:00 2001 From: Kacper Wiszczuk Date: Tue, 12 May 2020 09:06:56 -0700 Subject: [PATCH] imp: Add titlePlaceholder in template.config.js (#26218) 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: https://github.com/react-native-community/cli/pull/650 ## Changelog [General] [Added] - Introduce `titlePlaceholder` for template configuration. Pull Request resolved: https://github.com/facebook/react-native/pull/26218 Test Plan: Initialization works with the default template Differential Revision: D17091492 Pulled By: shergin fbshipit-source-id: 239110f2ad6f817d750575fa366ab49d146b36c1 --- template.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/template.config.js b/template.config.js index 634e9e13c4..e2516f3a4e 100644 --- a/template.config.js +++ b/template.config.js @@ -7,5 +7,6 @@ module.exports = { placeholderName: 'HelloWorld', + titlePlaceholder: 'Hello App Display Name', templateDir: './template', };