Skip to content

Commit

Permalink
fix: Modal close button size (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp authored Apr 15, 2021
1 parent 9f63f85 commit 6279f69
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions packages/fuselage/src/components/Modal/ModalClose.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import React from 'react';

import { Button } from '../Button';
import { Icon } from '../Icon';
import { ActionButton } from '../Button';

export const ModalClose = (props) => (
<Button small ghost flexShrink={0} {...props}>
<Icon name='cross' size='x24' />
</Button>
<ActionButton small ghost flexShrink={0} {...props} icon='cross' />
);

0 comments on commit 6279f69

Please sign in to comment.