Skip to content

Commit

Permalink
Add onClick
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriellsh committed Apr 20, 2022
1 parent 4ea4b60 commit 7ba223a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import type { ReactNode } from 'react';
import type { ReactNode, MouseEvent as ReactMouseEvent } from 'react';
import React from 'react';

import './MessageSystem.styles.scss';

type MessageSystemProps = {
children?: ReactNode;
title?: string;
onClick?: (e: ReactMouseEvent<HTMLDivElement, MouseEvent>) => void;
};

export const MessageSystem = ({
Expand Down

0 comments on commit 7ba223a

Please sign in to comment.