Skip to content

Commit

Permalink
Add ability to make modal large, fix typo in ChoiceGroupItem
Browse files Browse the repository at this point in the history
  • Loading branch information
james-manley committed Sep 29, 2021
1 parent 437a565 commit 6840922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/form/ChoiceGroupItem/ChoiceGroupItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import classnames from 'classnames';
import FormLabel from '../FormLabel/FormLabel';

export default class Checkbox extends React.Component {
export default class ChoiceGroupItem extends React.Component {

static defaultProps = {
className: 'form__control',
Expand Down
2 changes: 1 addition & 1 deletion src/components/html/Modal/MountedModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class MountedModal extends React.Component {
}

return <ModalPortal portalId="react-modal-container">
<Modal style={{display: 'block'}} className="in">
<Modal style={{display: 'block'}} className={`${this.props.large ? 'modal--large' : ''} in`}>
{this.props.children}
</Modal>

Expand Down

0 comments on commit 6840922

Please sign in to comment.