Integrate with embed

This commit is contained in:
Chi Vinh Le committed 2018-08-03 18:19:37 +02:00
1 parent 09cc76a973
commit b3fa5e1e73
14 files changed
+74 -108

No files matched your search

@@ -65,7 +65,9 @@ export class ClickOutside extends React.Component<ClickOutsideProps> {
}
}
const ClickOutsideWithContext: StatelessComponent<Props> = props => (
const ClickOutsideWithContext: StatelessComponent<
ClickOutsideProps
> = props => (
<UIContext.Consumer>
{({ registerClickFarAway }) => (
<ClickOutside {...props} registerClickFarAway={registerClickFarAway} />
@@ -1 +1 @@
export { default as ClickOutside, ClickFarAwayRegister } from "./ClickOutside";
export { default, ClickFarAwayRegister } from "./ClickOutside";