import React, { ConsumerProps } from 'react'; /** * This is a utility for every component that uses an icon to declare its defaults but also replace it with the theme context * Usage Example: * * * {({ icons }) => { * const CloseIcon = icons.CloseButton * return * } * } * * * Note that this implementation is temporary and needed only to preserve backwards compatibility for components with built-in icons (like CloseButton). * It will be removed in the future once a will be required on the top of any theme, including the default one. * This will assist in creating smaller bundle size for themes that would override the default icons. */ export declare const ThemeProviderConsumerBackwardCompatible: ({ defaultIcons, ...rest }: { defaultIcons?: Record>; } & ConsumerProps) => React.JSX.Element; //# sourceMappingURL=ThemeProviderConsumerBackwardCompatible.d.ts.map