UNPKG

@adaptabletools/adaptable

Version:

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

12 lines (11 loc) 475 B
import * as React from 'react'; import { IconSelector } from '../../../components/IconSelector'; import { useAdaptable } from '../../AdaptableContext'; /** * This component connects to adaptable to retrieve custom icons */ export const AdaptableIconSelector = (props) => { const adaptable = useAdaptable(); const customIcons = adaptable.api.userInterfaceApi.getCustomIcons(); return React.createElement(IconSelector, { customIcons: customIcons, ...props }); };