Skip to content

Commit

Permalink
Update BpkSaveButton to support extension props (#3617)
Browse files Browse the repository at this point in the history
Co-authored-by: Kathy Wang <[email protected]>
  • Loading branch information
KathyWang0208 and Kathy0208 authored Sep 26, 2024
1 parent 102dd9b commit 86d8c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bpk-component-card-button/src/BpkSaveButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const BpkSaveButton = ({
onCheckedChange,
size = SIZE_TYPES.default,
style = STYLE_TYPES.default,
...rest
}: Props) => {
const [shouldPlayAnim, setPlayAnim] = useState(false);
const smallSize = size === SIZE_TYPES.small;
Expand All @@ -91,6 +92,7 @@ const BpkSaveButton = ({
setPlayAnim(true);
}
}}
{...rest}
>
<div
className={getClassName(
Expand Down

0 comments on commit 86d8c73

Please sign in to comment.