Skip to content

Commit

Permalink
Merge pull request #360 from reactioncommerce/hotfix-machikoyasuda-re…
Browse files Browse the repository at this point in the history
…gion-input

fix(regioninput): add isFormInput back to RegionInput
  • Loading branch information
nnnnat authored Nov 6, 2018
2 parents 7f37b7e + 5de148c commit c83e022
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package/src/components/RegionInput/v1/RegionInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { withComponents } from "@reactioncommerce/components-context";
import { CustomPropTypes } from "../../../utils";

class RegionInput extends Component {
static isFormInput = true;

static propTypes = {
/**
* You can provide a `className` prop that will be applied to the outermost DOM element
Expand Down Expand Up @@ -78,4 +80,8 @@ class RegionInput extends Component {
}
}

export default withComponents(RegionInput);
const WrappedRegionInput = withComponents(RegionInput);

WrappedRegionInput.isFormInput = true;

export default WrappedRegionInput;

0 comments on commit c83e022

Please sign in to comment.