aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/panel.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/components/panel.tsx')
-rw-r--r--packages/instant/src/components/panel.tsx28
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/instant/src/components/panel.tsx b/packages/instant/src/components/panel.tsx
deleted file mode 100644
index ecefadced..000000000
--- a/packages/instant/src/components/panel.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import * as React from 'react';
-
-import { ColorOption } from '../style/theme';
-import { zIndex } from '../style/z_index';
-
-import { Button, Container, Text } from './ui';
-
-export interface PanelProps {
- onClose?: () => void;
-}
-
-export const Panel: React.StatelessComponent<PanelProps> = ({ children, onClose }) => (
- <Container
- backgroundColor={ColorOption.white}
- // position="absolute"
- // left="0px"
- // bottom="0px"
- // width="100%"
- // height="100%"
- height="100%"
- zIndex={zIndex.panel}
- >
- <Button onClick={onClose}>
- <Text fontColor={ColorOption.white}>Close </Text>
- </Button>
- {children}
- </Container>
-);