diff --git a/examples/basics/pages/en/index.js b/examples/basics/pages/en/index.js
index 7e0427ce8c..c341150613 100755
--- a/examples/basics/pages/en/index.js
+++ b/examples/basics/pages/en/index.js
@@ -42,41 +42,36 @@ Button.defaultProps = {
target: '_self',
};
-const SplashContainer = (props) => (
+const SplashContainer = props => (
-
- {props.children}
-
+
{props.children}
-)
+);
-const Logo = (props) => (
+const Logo = props => (
-)
+);
-const ProjectTitle = (props) => (
+const ProjectTitle = props => (
{siteConfig.title}
{siteConfig.tagline}
-)
+);
-const PromoSection = (props) => (
+const PromoSection = props => (
-
- {props.children}
-
+
{props.children}
-)
+);
class HomeSplash extends React.Component {
-
render() {
let language = this.props.language || 'en';
return (
@@ -86,12 +81,8 @@ class HomeSplash extends React.Component {
-
-
+
+
@@ -99,17 +90,16 @@ class HomeSplash extends React.Component {
}
}
-const Block = (props) => (
-
-
+const Block = props => (
+
+
);
-const Features = (props) => (
+const Features = props => (
{[
{
@@ -128,16 +118,16 @@ const Features = (props) => (
);
-const FeatureCallout = (props) => (
+const FeatureCallout = props => (
Feature Callout
These are features of this project
-)
+);
-const LearnHow = (props) => (
+const LearnHow = props => (
{[
{
@@ -148,9 +138,9 @@ const LearnHow = (props) => (
},
]}
-)
+);
-const TryOut = (props) => (
+const TryOut = props => (
{[
{
@@ -161,23 +151,22 @@ const TryOut = (props) => (
},
]}
-)
+);
-const Description = (props) => (
+const Description = props => (
{[
{
- content:
- 'This is another description of how this project is useful',
+ content: 'This is another description of how this project is useful',
image: imgUrl('docusaurus.svg'),
imageAlign: 'right',
title: 'Description',
},
]}
-)
+);
-const Showcase = (props) => {
+const Showcase = props => {
const showcase = siteConfig.users
.filter(user => {
return user.pinned;
@@ -201,8 +190,8 @@ const Showcase = (props) => {
- )
-}
+ );
+};
class Index extends React.Component {
render() {