{
+ public state = {
+ show: true,
+ };
+
+ public toggleShow = () => {
+ this.setState(state => ({ show: !state.show }));
+ };
+
+ public render() {
+ return this.props.children({
+ toggleShow: this.toggleShow,
+ show: this.state.show,
+ });
+ }
+}
+
+export default ToggleShow;
diff --git a/src/core/client/ui/components/ToggleShow/ToogleShow.mdx b/src/core/client/ui/components/ToggleShow/ToogleShow.mdx
new file mode 100644
index 000000000..93c215cd9
--- /dev/null
+++ b/src/core/client/ui/components/ToggleShow/ToogleShow.mdx
@@ -0,0 +1,22 @@
+---
+name: ToggleShow
+menu: UI Kit
+---
+
+import { Playground } from 'docz'
+import ToggleShow from './ToogleShow'
+
+# ToggleShow
+A Component that provides a render function to display nodes
+
+## Basic usage
+```js
+
+ {({ toggleShow, show }) => (
+
+ {show &&
SHOW ME
}
+
+
+ )}
+
+```
diff --git a/src/core/client/ui/components/ToggleShow/__snapshots__/ToggleShow.spec.tsx.snap b/src/core/client/ui/components/ToggleShow/__snapshots__/ToggleShow.spec.tsx.snap
new file mode 100644
index 000000000..26bb513b1
--- /dev/null
+++ b/src/core/client/ui/components/ToggleShow/__snapshots__/ToggleShow.spec.tsx.snap
@@ -0,0 +1,24 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`renders correctly 1`] = `
+
+
+ SHOW ME
+
+
+
+`;
+
+exports[`should work correctly 1`] = `
+
+
+
+`;