aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/secondary_button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/components/secondary_button.tsx')
-rw-r--r--packages/instant/src/components/secondary_button.tsx27
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/instant/src/components/secondary_button.tsx b/packages/instant/src/components/secondary_button.tsx
deleted file mode 100644
index 0714ce287..000000000
--- a/packages/instant/src/components/secondary_button.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import * as _ from 'lodash';
-import * as React from 'react';
-
-import { ColorOption } from '../style/theme';
-
-import { Button, ButtonProps } from './ui/button';
-
-export interface SecondaryButtonProps extends ButtonProps {}
-
-export const SecondaryButton: React.StatelessComponent<SecondaryButtonProps> = props => {
- const buttonProps = _.omit(props, 'text');
- return (
- <Button
- backgroundColor={ColorOption.white}
- borderColor={ColorOption.lightGrey}
- width={props.width}
- onClick={props.onClick}
- {...buttonProps}
- >
- {props.children}
- </Button>
- );
-};
-SecondaryButton.defaultProps = {
- width: '100%',
-};
-SecondaryButton.displayName = 'SecondaryButton';