TeaWeb/shared/js/ui/react-elements/Icons.tsx

6 lines
342 B
TypeScript
Raw Normal View History

import {ClientIcon} from "svg-sprites/client-icons";
import * as React from "react";
2020-09-07 10:42:00 +00:00
export const ClientIconRenderer = (props: { icon: ClientIcon, size?: string | number, title?: string, className?: string }) => (
<div className={"icon_em " + props.icon + " " + props.className} style={{ fontSize: props.size }} title={props.title} />
);