fix(instances): add Next button to fw

This commit is contained in:
Sérgio Ramos 2018-05-09 11:22:27 +01:00
parent 98a8b2eb5b
commit d1b2ba0002

View File

@ -2,6 +2,7 @@ import React, { Fragment } from 'react';
import { Margin } from 'styled-components-spacing';
import Flex, { FlexItem } from 'styled-flex-component';
import { compose, graphql } from 'react-apollo';
import { Link } from 'react-router-dom';
import ReduxForm from 'declarative-redux-form';
import { connect } from 'react-redux';
import get from 'lodash.get';
@ -14,7 +15,7 @@ import Step, {
Outlet as StepOutlet
} from 'joyent-ui-resource-step';
import { P, FirewallIcon } from 'joyent-ui-toolkit';
import { Button, P, FirewallIcon } from 'joyent-ui-toolkit';
import {
TagRules,
@ -123,6 +124,11 @@ const Firewall = ({
</P>
</Margin>
) : null}
<Margin top={5}>
<Button type="button" component={Link} to={next}>
Next
</Button>
</Margin>
</Fragment>
)}
</StepOutlet>