UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

7 lines (6 loc) 521 B
import { jsx as _jsx } from "react/jsx-runtime"; import join from '../utils/join'; const DEFAULT_SIZE = 20; export default ({ children, size = DEFAULT_SIZE, name, tabIndex, color, ...props }) => { return (_jsx("svg", { width: size, height: size, viewBox: "0 0 24 24", tabIndex: tabIndex, "data-id": name, "data-name": "AdaptableIcon", ...props, className: join(props.className, `ab-Icon ab-Icon--${name}`), style: { verticalAlign: 'middle', fill: color ?? 'currentColor', ...props.style }, children: children })); };