From 3e771e4ab500f19c9ee93b5738be700841b5c061 Mon Sep 17 00:00:00 2001 From: Mike Polinowski Date: Wed, 8 Nov 2017 22:31:57 +0800 Subject: [PATCH] external Link fixed --- src/pages/nestedroutes/secondnest.jsx | 37 ++++++++++++++++----------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/src/pages/nestedroutes/secondnest.jsx b/src/pages/nestedroutes/secondnest.jsx index 96b568a..c8f08d8 100644 --- a/src/pages/nestedroutes/secondnest.jsx +++ b/src/pages/nestedroutes/secondnest.jsx @@ -8,7 +8,6 @@ import Button from 'material-ui/Button' import Autocomplete from '../../components/Autocomplete' import FormInput from '../../components/FormInput' - class secondnest extends React.Component { state = { @@ -25,22 +24,30 @@ class secondnest extends React.Component { } render () { - return ( -
-

Autocomplete Input

-

This input field uses react-autosuggest to complete your input compared to a hard-coded list of countries starting with the letter A.

- + return
+

Autocomplete Input

+

+ This input field uses react-autosuggest to complete your input compared to a hard-coded list of countries starting with the letter A. +

+ -

Address Form

-

This form adds input to component state. Submit clears the input fields, but keeps values in state - the default browser reload is prevented

- this.onChange(fields)} /> -

- {JSON.stringify(this.state.fields, null, 2)} -



+

Address Form

+

+ This form adds input to component state. Submit clears the input + fields, but keeps values in state - the default browser reload is + prevented +

+ this.onChange(fields)} /> +

{JSON.stringify(this.state.fields, null, 2)}

+
+
- -
- ) + + + +
; } }