Skip to content

Commit

Permalink
fix: Improve types for the PrimaryButton component
Browse files Browse the repository at this point in the history
Fixes issue PM-14049
  • Loading branch information
greg-nulogy committed Jul 24, 2024
1 parent b3f7639 commit 2d6a805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Button/PrimaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styled, { CSSObject } from "styled-components";
import { darken } from "polished";
import Button, { ButtonProps } from "./Button";

const PrimaryButton: React.FC<React.PropsWithChildren<any>> = styled(Button)(
const PrimaryButton = styled(Button)(
({ disabled, theme }: ButtonProps): CSSObject => ({
color: theme.colors.white,
borderColor: theme.colors.blue,
Expand Down

0 comments on commit 2d6a805

Please sign in to comment.