Skip to content

Commit

Permalink
update storybook for OrderDetailForm
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldthai committed Jun 16, 2020
1 parent 83a2fb7 commit 9d6727d
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ const ordersTypeDetailOptions = Object.entries({
DELAYED_APPROVAL: 'Delayed Approval 20 Weeks or More',
});

const OrdersDetail = () => (
<div>
storiesOf('TOO/TIO Components|OrdersDetailForm', module).add('with buttons to edit', () => (
<div style={{ padding: `20px`, background: `#f0f0f0` }}>
<OrdersDetailForm
initialValues={{
currentDutyStation,
Expand All @@ -77,10 +77,4 @@ const OrdersDetail = () => (
onReset={action('Orders Detail Cancel')}
/>
</div>
);

storiesOf('TOO/TIO Components|OrdersDetailForm', module).add('with buttons to edit', () => (
<div style={{ padding: `20px`, background: `#f0f0f0` }}>
<OrdersDetail />
</div>
));

0 comments on commit 9d6727d

Please sign in to comment.