* Chore disable git submodule for web-client and app-backend * Chore add newest source code of app-backend and web-client --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
17 lines
340 B
TypeScript
17 lines
340 B
TypeScript
import React from "react";
|
|
import JanImage from "../JanImage";
|
|
|
|
type Props = {
|
|
onClick: () => void;
|
|
};
|
|
|
|
const CompactLogo: React.FC<Props> = ({ onClick }) => {
|
|
return (
|
|
<button onClick={onClick}>
|
|
<JanImage imageUrl="/icons/app_icon.svg" width={28} height={28} />
|
|
</button>
|
|
);
|
|
};
|
|
|
|
export default React.memo(CompactLogo);
|