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 });
};
