From 5721b25c3ace6e0dc336e2bfc7a0e45fd575a5a8 Mon Sep 17 00:00:00 2001
From: fragosti <francesco.agosti93@gmail.com>
Date: Wed, 2 Jan 2019 16:08:15 +0100
Subject: feat: give all stateless components a displayName or make them
 private

---
 packages/instant/src/components/sliding_panel.tsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'packages/instant/src/components/sliding_panel.tsx')

diff --git a/packages/instant/src/components/sliding_panel.tsx b/packages/instant/src/components/sliding_panel.tsx
index 7f9037049..33a483662 100644
--- a/packages/instant/src/components/sliding_panel.tsx
+++ b/packages/instant/src/components/sliding_panel.tsx
@@ -26,6 +26,8 @@ export const Panel: React.StatelessComponent<PanelProps> = ({ children, onClose
     </Container>
 );
 
+Panel.displayName = 'Panel';
+
 export interface SlidingPanelProps extends PanelProps {
     animationState: SlideAnimationState;
 }
@@ -65,3 +67,5 @@ export const SlidingPanel: React.StatelessComponent<SlidingPanelProps> = props =
         </SlideAnimation>
     );
 };
+
+SlidingPanel.displayName = 'SlidingPanel';
-- 
cgit v1.2.3

