Skip to content

Commit

Permalink
Deprecated: Use variant="secondary" instead of isSecondary (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soean authored May 8, 2024
1 parent bbd049d commit 85fc73e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/ActiveLocales.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function ActiveControls( {
<ul>
<li>
<Button
isSecondary
variant="secondary"
showTooltip
aria-keyshortcuts="ArrowUp"
aria-label={ sprintf(
Expand All @@ -267,7 +267,7 @@ function ActiveControls( {
</li>
<li>
<Button
isSecondary
variant="secondary"
showTooltip
aria-keyshortcuts="ArrowDown"
aria-label={ sprintf(
Expand All @@ -288,7 +288,7 @@ function ActiveControls( {
</li>
<li>
<Button
isSecondary
variant="secondary"
showTooltip
aria-keyshortcuts="Delete"
aria-label={ sprintf(
Expand Down
2 changes: 1 addition & 1 deletion src/components/InactiveLocales.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function InactiveControls( { disabled, onClick }: InactiveControlsProps ) {
return (
<div className="inactive-locales-controls">
<Button
isSecondary
variant="secondary"
showTooltip
aria-keyshortcuts="Alt+A"
aria-label={ sprintf(
Expand Down

0 comments on commit 85fc73e

Please sign in to comment.