summaryrefslogtreecommitdiffstats
path: root/src/components/Buttons/ButtonSubmit
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-16 17:34:41 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-16 17:35:22 +0100
commit6e2a66ca0f12e11c66d993ed22624cd4659b5f2e (patch)
treef8434b2a49dacdb6d9c633d9fa1d3af4b9c298ec /src/components/Buttons/ButtonSubmit
parente1678d1116aa462ddd2bc70d10496e37b053433e (diff)
chore: define secondary button styles
I also rename submit style to primary.
Diffstat (limited to 'src/components/Buttons/ButtonSubmit')
-rw-r--r--src/components/Buttons/ButtonSubmit/ButtonSubmit.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Buttons/ButtonSubmit/ButtonSubmit.tsx b/src/components/Buttons/ButtonSubmit/ButtonSubmit.tsx
index fd7fc62..a2e493a 100644
--- a/src/components/Buttons/ButtonSubmit/ButtonSubmit.tsx
+++ b/src/components/Buttons/ButtonSubmit/ButtonSubmit.tsx
@@ -2,7 +2,7 @@ import styles from '../Buttons.module.scss';
const ButtonSubmit: React.FunctionComponent = ({ children }) => {
return (
- <button type="submit" className={`${styles.btn} ${styles.submit}`}>
+ <button type="submit" className={`${styles.btn} ${styles.primary}`}>
{children}
</button>
);