Skip to content

Commit

Permalink
fix: modal secondary prop type (#15519)
Browse files Browse the repository at this point in the history
  • Loading branch information
htndev committed Jan 16, 2024
1 parent d356214 commit e74c2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Modal/Modal.tsx
Expand Up @@ -33,7 +33,7 @@ export const ModalSizes = ['xs', 'sm', 'md', 'lg'] as const;
export type ModalSize = (typeof ModalSizes)[number];

export interface ModalSecondaryButton {
buttonText?: string;
buttonText?: string | React.ReactNode;

onClick?: React.MouseEventHandler<HTMLButtonElement>;
}
Expand Down

0 comments on commit e74c2b2

Please sign in to comment.