mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
JS: Format with Prettier v2.4.1 [3/n]
Summary: Changelog: [General][Internal] Reviewed By: zertosh Differential Revision: D31883447 fbshipit-source-id: cbbf85e4bf935096d242336f41bf0cc5d6f92359
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e587a1b7d
commit
77ecc7ede1
@@ -152,7 +152,7 @@ exports.examples = ([
|
||||
...TextInputSharedExamples,
|
||||
{
|
||||
title: 'Colors and text inputs',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -202,7 +202,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Font Weight',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -234,7 +234,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Text input, themes and heights',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<TextInput
|
||||
placeholder="If you set height, beware of padding set from themes"
|
||||
@@ -245,7 +245,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'letterSpacing',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -270,7 +270,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Passwords',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -290,7 +290,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Editable',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<TextInput
|
||||
defaultValue="Can't touch this! (>'-')> ^(' - ')^ <('-'<) (>'-')> ^(' - ')^"
|
||||
@@ -302,7 +302,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Multiline',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -344,7 +344,7 @@ exports.examples = ([
|
||||
{
|
||||
title: 'Fixed number of lines',
|
||||
platform: 'android',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -363,7 +363,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Auto-expanding',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<AutogrowingTextInputExample
|
||||
@@ -387,7 +387,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Return key',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
const returnKeyTypes = [
|
||||
'none',
|
||||
'go',
|
||||
@@ -428,7 +428,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Inline Images',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return (
|
||||
<View>
|
||||
<TextInput
|
||||
@@ -452,7 +452,7 @@ exports.examples = ([
|
||||
},
|
||||
{
|
||||
title: 'Toggle Default Padding',
|
||||
render: function(): React.Node {
|
||||
render: function (): React.Node {
|
||||
return <ToggleDefaultPaddingExample />;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user