mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
Integrate with embed
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user