summaryrefslogtreecommitdiffstats
path: root/src/components/Buttons/Button/Button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Buttons/Button/Button.tsx')
-rw-r--r--src/components/Buttons/Button/Button.tsx35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/components/Buttons/Button/Button.tsx b/src/components/Buttons/Button/Button.tsx
deleted file mode 100644
index ada23fe..0000000
--- a/src/components/Buttons/Button/Button.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-import { ButtonKind, ButtonPosition } from '@ts/types/app';
-import { ReactNode } from 'react';
-import styles from '../Buttons.module.scss';
-
-const Button = ({
- children,
- clickHandler,
- kind = 'secondary',
- position = 'left',
- spacing = false,
- isDisabled = false,
-}: {
- children: ReactNode;
- clickHandler: any;
- kind?: ButtonKind;
- position?: ButtonPosition;
- spacing?: boolean;
- isDisabled?: boolean;
-}) => {
- const spacingClass = spacing ? styles.spacing : '';
- const classes = `${styles.btn} ${styles[position]} ${styles[kind]} ${spacingClass}`;
-
- return (
- <button
- className={classes}
- type="button"
- disabled={isDisabled}
- onClick={clickHandler}
- >
- {children}
- </button>
- );
-};
-
-export default Button;