interface Props {
  message: string;
  onClick: () => void;
}

export const CustomComponent = (props: Props): JSX.Element => {
  return (
    <div style={{ border: "5px solid grey" }} onClick={props.onClick}>
      <span style={{ color: "black" }}>{props.message}</span>
    </div>
  );
};
