From 9662c8e338632d03e6821ef0ff5360b49eddb773 Mon Sep 17 00:00:00 2001 From: jpfisher72 Date: Tue, 8 Oct 2024 12:01:46 -0400 Subject: [PATCH] Fix button variant type --- src/components/Button/Button.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index 43ba94a..99c79f3 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -16,9 +16,10 @@ import { FONT_WEIGHTS, FONT_SIZES } from '../Typography/Typography'; export type ButtonVariant = | 'filled' | 'outlined' - | 'text' - | 'elevated' - | 'tonal'; + //Jonathan 10/8/24 - commenting these out since they cause an error. Other button variants are missing from theme maps below + // | 'text' + // | 'elevated' + // | 'tonal'; export type ButtonState = | '' | '&:active'