mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
11 lines
311 B
TypeScript
11 lines
311 B
TypeScript
import React from 'react';
|
|
import { cx } from 'emotion';
|
|
|
|
export interface SeriesIconProps {
|
|
color: string;
|
|
className?: string;
|
|
}
|
|
export const SeriesIcon: React.FunctionComponent<SeriesIconProps> = ({ color, className }) => {
|
|
return <i className={cx('fa', 'fa-minus', className)} style={{ color }} />;
|
|
};
|