mirror of
https://github.com/wassname/talk.git
synced 2026-10-03 13:02:47 +08:00
Integrate with embed
This commit is contained in:
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";
|
||||
Reference in new issue
Block a user