diff --git a/packages/frontend/src/Icon.tsx b/packages/frontend/src/Icon.tsx index a5c821d..99effb7 100644 --- a/packages/frontend/src/Icon.tsx +++ b/packages/frontend/src/Icon.tsx @@ -8,6 +8,16 @@ export interface Props { className?: string, }; -export function Icon(props: Props) { - return ; +export class Icon extends React.Component<{}, Props> { + public props: Props; + + public shouldComponentUpdate() { + return false; + } + + public render() { + const { alt, className, src } = this.props; + + return ; + } }