diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-14 19:42:36 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-14 19:42:36 +0100 |
| commit | 16dbb4742264edac82fa6bb8e461259d097f4437 (patch) | |
| tree | 811571a48ed25ef04ed422504c593ec012e3b6f5 /src/components/Buttons/ButtonLink/ButtonLink.tsx | |
| parent | 905b819d9a7b5a336989c6e7621e18b1d9daa531 (diff) | |
refactor(buttons): add a tertiary kind (previously links styles)
Diffstat (limited to 'src/components/Buttons/ButtonLink/ButtonLink.tsx')
| -rw-r--r-- | src/components/Buttons/ButtonLink/ButtonLink.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/Buttons/ButtonLink/ButtonLink.tsx b/src/components/Buttons/ButtonLink/ButtonLink.tsx index 4c94b34..179c686 100644 --- a/src/components/Buttons/ButtonLink/ButtonLink.tsx +++ b/src/components/Buttons/ButtonLink/ButtonLink.tsx @@ -14,8 +14,7 @@ const ButtonLink = ({ position?: ButtonPosition; isExternal?: boolean; }) => { - const positionModifier = `link--${position}`; - const classes = `${styles.btn} ${styles.link} ${styles[positionModifier]}`; + const classes = `${styles.btn} ${styles[position]} ${styles.tertiary}`; return isExternal ? ( <a className={classes} href={target}> |
