UNPKG

@adaptabletools/adaptable

Version:

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

18 lines (17 loc) 877 B
import * as React from 'react'; import { CSSProperties } from 'react'; import IconProps from './DefaultIcon'; import { AdaptableCustomIcon, AdaptableSystemIcon, AdaptableSystemIconName } from '../../AdaptableState/Common/AdaptableIcon'; export declare const allIcons: Record<AdaptableSystemIconName, React.FunctionComponent<IconProps>>; type IconProps = { style?: React.CSSProperties; name: AdaptableSystemIconName; size?: number | string; className?: string; tabIndex?: number; props?: React.SVGProps<SVGElement>; }; export declare const Icon: ({ name, style, className, tabIndex, ...props }: IconProps) => React.JSX.Element; export declare const NaturallySizedIcon: (props: Omit<IconProps, 'size'>) => React.JSX.Element; export declare const iconToString: (icon: AdaptableSystemIcon | AdaptableCustomIcon, style?: CSSProperties) => string; export {};