UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

9 lines (8 loc) 406 B
import React from 'react'; import clsx from 'clsx'; import styles from './styles.css.js'; var ChartSeriesMarker = function (_a) { var _b = _a.type, type = _b === void 0 ? 'line' : _b, color = _a.color; return (React.createElement("span", { className: clsx(styles.marker, styles["marker--" + type]), style: { backgroundColor: color }, "aria-hidden": "true" })); }; export default ChartSeriesMarker;