Skip to content

Commit

Permalink
fix(regioninput): add isFormInput back to RegionInput
Browse files Browse the repository at this point in the history
  • Loading branch information
Machiko Yasuda committed Nov 6, 2018
1 parent 7f37b7e commit 5de148c
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 5de148c

Please sign in to comment.