<p dir="auto">Would it be possible to enhance the Stepper component so that it can have only 1 step?</p>
<p dir="auto">Currently, <code class="notranslate">&lt;Stepper&gt;</code> needs to have an array of children of <code class="notranslate">&lt;Step&gt;</code>. I have a use case where sometimes, only 1 step is needed.</p>
<p dir="auto">So, i built a primitive workflow generator where the user can generate a custom workflow. While quite primitive, it is visual, so users like it. More importantly, this means no new budget needs to be spent on simple forms etc. this means the business likes it even more. A new form of any kind means budget someone has to pay for.</p>
<p dir="auto">They basically want the exact same behaviour as the  currently, but with only 1 step, because of this workflow generator. I have tried to explain to them this is not the use case it is build for. But they like the interface.</p>
<p dir="auto">Unfortunately i did not realise that people would use it like they are. Clearly i'm the first tech person bitten in the arse by this. /sarc</p>
<p dir="auto">Would be most appreciated.</p>
<h3 dir="auto">Description</h3>
<p dir="auto">React warns about a single child for Stepper, even though a single child works without issues.<br>
Now, it may seem strange for a Stepper to only have one step, but I can explain this use-case.</p>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 0.17.4</li>
<li>React: 15.5.4</li>
<li>Browser: Any, but Opera 57 is what I'm using</li>
</ul>
<h3 dir="auto">Images &amp; references</h3>
<p dir="auto">The default view when a user visits the login page:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1649903/25405340/4da08a6c-2a03-11e7-9b66-a68153f752e1.png"><img src="https://cloud.githubusercontent.com/assets/1649903/25405340/4da08a6c-2a03-11e7-9b66-a68153f752e1.png" alt="screen shot 2017-04-25 at 22 04 54" style="max-width: 100%;"></a></p>
<p dir="auto">The view changes when they click the "Register" button:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1649903/25405344/4fbbd6a8-2a03-11e7-8f19-4d27d578d536.png"><img src="https://cloud.githubusercontent.com/assets/1649903/25405344/4fbbd6a8-2a03-11e7-8f19-4d27d578d536.png" alt="screen shot 2017-04-25 at 22 05 13" style="max-width: 100%;"></a></p>
<p dir="auto">I use a Stepper for the login view to keep consistency. Without it, the content would jump when the user switches to the registration view. It works, but it yields a warning in the console, which is simply not needed.</p>
<blockquote>
<p dir="auto">Warning: Failed prop type: Invalid prop <code class="notranslate">children</code> of type <code class="notranslate">object</code> supplied to <code class="notranslate">Stepper</code>, expected an array.</p>
</blockquote>