From 555f83a2fd17c399ee7d9dd5b32da51e578e829a Mon Sep 17 00:00:00 2001 From: Nam Kolo Date: Tue, 1 Mar 2016 21:42:21 +0700 Subject: [PATCH] Require the component individually in Stepper example --- .../Stepper/HorizontalLinearStepper.jsx | 17 +++++++---------- .../Stepper/VerticalLinearStepper.jsx | 17 +++++++---------- .../VerticalLinearStepperWithOptionalStep.jsx | 19 ++++++++----------- .../Stepper/VerticalNonLinearStepper.jsx | 17 +++++++---------- 4 files changed, 29 insertions(+), 41 deletions(-) diff --git a/docs/src/app/components/pages/components/Stepper/HorizontalLinearStepper.jsx b/docs/src/app/components/pages/components/Stepper/HorizontalLinearStepper.jsx index 950083a60b1c53..587ea1256039bb 100644 --- a/docs/src/app/components/pages/components/Stepper/HorizontalLinearStepper.jsx +++ b/docs/src/app/components/pages/components/Stepper/HorizontalLinearStepper.jsx @@ -1,15 +1,12 @@ import React from 'react'; -import { - Stepper, - HorizontalStep as Step, -} from 'material-ui/lib/Stepper'; -import { - Paper, - FontIcon, - RaisedButton, - FlatButton, -} from 'material-ui'; +import Stepper from 'material-ui/lib/Stepper/Stepper'; +import Step from 'material-ui/Stepper/HorizontalStep'; + +import Paper from 'material-ui/lib/paper'; +import FontIcon from 'material-ui/lib/font-icon'; +import RaisedButton from 'material-ui/lib/raised-button'; +import FlatButton from 'material-ui/lib/flat-button'; const HorizontalStepper = React.createClass({ getInitialState() { diff --git a/docs/src/app/components/pages/components/Stepper/VerticalLinearStepper.jsx b/docs/src/app/components/pages/components/Stepper/VerticalLinearStepper.jsx index fb0ac351fabe66..e89b279526b338 100644 --- a/docs/src/app/components/pages/components/Stepper/VerticalLinearStepper.jsx +++ b/docs/src/app/components/pages/components/Stepper/VerticalLinearStepper.jsx @@ -1,15 +1,12 @@ import React from 'react'; -import { - Stepper, - VerticalStep as Step, -} from 'material-ui/lib/Stepper'; -import { - Paper, - FontIcon, - RaisedButton, - FlatButton, -} from 'material-ui'; +import Stepper from 'material-ui/lib/Stepper/Stepper'; +import Step from 'material-ui/Stepper/VerticalStep'; + +import Paper from 'material-ui/lib/paper'; +import FontIcon from 'material-ui/lib/font-icon'; +import RaisedButton from 'material-ui/lib/raised-button'; +import FlatButton from 'material-ui/lib/flat-button'; const VerticalLinearStepper = React.createClass({ getInitialState() { diff --git a/docs/src/app/components/pages/components/Stepper/VerticalLinearStepperWithOptionalStep.jsx b/docs/src/app/components/pages/components/Stepper/VerticalLinearStepperWithOptionalStep.jsx index 1e227292091022..92f43c5f783a52 100644 --- a/docs/src/app/components/pages/components/Stepper/VerticalLinearStepperWithOptionalStep.jsx +++ b/docs/src/app/components/pages/components/Stepper/VerticalLinearStepperWithOptionalStep.jsx @@ -1,15 +1,12 @@ import React from 'react'; -import { - Stepper, - VerticalStep as Step, -} from 'material-ui/lib/Stepper'; - -import { - Paper, - FontIcon, - RaisedButton, - FlatButton, -} from 'material-ui'; + +import Stepper from 'material-ui/lib/Stepper/Stepper'; +import Step from 'material-ui/Stepper/VerticalStep'; + +import Paper from 'material-ui/lib/paper'; +import FontIcon from 'material-ui/lib/font-icon'; +import RaisedButton from 'material-ui/lib/raised-button'; +import FlatButton from 'material-ui/lib/flat-button'; const VerticalLinearStepper = React.createClass({ getInitialState() { diff --git a/docs/src/app/components/pages/components/Stepper/VerticalNonLinearStepper.jsx b/docs/src/app/components/pages/components/Stepper/VerticalNonLinearStepper.jsx index 1246c54b15ec29..5739a6705c0865 100644 --- a/docs/src/app/components/pages/components/Stepper/VerticalNonLinearStepper.jsx +++ b/docs/src/app/components/pages/components/Stepper/VerticalNonLinearStepper.jsx @@ -1,15 +1,12 @@ import React from 'react'; -import { - Stepper, - VerticalStep as Step, -} from 'material-ui/lib/Stepper'; -import { - Paper, - FontIcon, - RaisedButton, - FlatButton, -} from 'material-ui'; +import Stepper from 'material-ui/lib/Stepper/Stepper'; +import Step from 'material-ui/Stepper/VerticalStep'; + +import Paper from 'material-ui/lib/paper'; +import FontIcon from 'material-ui/lib/font-icon'; +import RaisedButton from 'material-ui/lib/raised-button'; +import FlatButton from 'material-ui/lib/flat-button'; const VerticalNonLinearStepper = React.createClass({ getInitialState() {