Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Oct 31, 2023
1 parent bc9d4bc commit f5b1a41
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/EditGrid/EditGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import React from 'react';
import {FormattedMessage} from 'react-intl';

import OFButton from 'components/Button';
import {OFButton} from 'components/Button';
import FAIcon from 'components/FAIcon';

const DefaultAddButtonLabel = () => (
Expand Down
7 changes: 3 additions & 4 deletions src/components/EditGrid/EditGrid.stories.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {Button} from '@utrecht/component-library-react';

import Body from 'components/Body';
import {OFButton} from 'components/Button';

import {EditGrid, EditGridButtonGroup, EditGridItem} from '.';

Expand All @@ -18,7 +17,7 @@ export default {
heading="Item 1"
buttons={
<EditGridButtonGroup>
<Button appearance="primary-action-button">A button</Button>
<OFButton appearance="primary-action-button">A button</OFButton>
</EditGridButtonGroup>
}
>
Expand All @@ -28,7 +27,7 @@ export default {
heading="Item 2"
buttons={
<EditGridButtonGroup>
<Button appearance="primary-action-button">A button</Button>
<OFButton appearance="primary-action-button">A button</OFButton>
</EditGridButtonGroup>
}
>
Expand Down
9 changes: 4 additions & 5 deletions src/components/EditGrid/EditGridItem.stories.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {Button} from '@utrecht/component-library-react';

import Body from 'components/Body';
import {OFButton} from 'components/Button';

import {EditGridButtonGroup, EditGridItem as EditGridItemComponent} from '.';

Expand All @@ -16,10 +15,10 @@ export default {
children: <Body>Item body, typically form fields</Body>,
buttons: (
<EditGridButtonGroup>
<Button appearance="primary-action-button">Save</Button>
<Button appearance="primary-action-button" hint="danger">
<OFButton appearance="primary-action-button">Save</OFButton>
<OFButton appearance="primary-action-button" hint="danger">
Remove
</Button>
</OFButton>
</EditGridButtonGroup>
),
},
Expand Down

0 comments on commit f5b1a41

Please sign in to comment.