Skip to content

Commit

Permalink
undo button changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChessyHsu committed Nov 6, 2024
1 parent 4105d9e commit 3761bbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions packages/syntax-core/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,20 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
{
"data-testid": dataTestId,
text,
// loadingText,
loadingText,
color = "primary",
size = "md",
// accessibilityLabel,
// disabled = false,
accessibilityLabel,
disabled = false,
loading = false,
fullWidth = false,
startIcon: StartIcon,
endIcon: EndIcon,
on = "lightBackground",
onClick,
}: // tooltip,
// type = "button",
ButtonProps,
tooltip,
type = "button",
}: ButtonProps,
ref,
) => {
const isHydrated = useIsHydrated();
Expand Down
6 changes: 3 additions & 3 deletions packages/syntax-core/src/LinkButton/LinkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ const LinkButton = forwardRef<HTMLAnchorElement, LinkButtonProps>(
(
{
text,
// href,
// target,
// rel,
href,
target,
rel,
"data-testid": dataTestId,
color = "primary",
size = "md",
Expand Down

0 comments on commit 3761bbd

Please sign in to comment.