From 7e16f500cb7bc0cfd8bafbf6bb1555704f771231 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 29 Apr 2022 12:13:34 +0200 Subject: chore: remove old pages, components, helpers and types Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch. --- src/components/Buttons/Button/Button.tsx | 35 -------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/components/Buttons/Button/Button.tsx (limited to 'src/components/Buttons/Button') 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 ( - - ); -}; - -export default Button; -- cgit v1.2.3