/** * @license * Scale https://github.com/telekom/scale * * Copyright (c) 2021 Egor Kirpichev and contributors, Deutsche Telekom AG * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ interface TagDescriptorInterface { tag: string; attributes: object; } declare type HTMLStringFunction = () => string; /** * Conditionally render markup for an icon based on data. * * @param value when a string, will be used as the `name` attribute in a ``, * when a function it should return a string of HTML * @param customContainerClass a custom class for the wrapper of the HTML returned by `value` */ export declare const renderIcon: (value: string | HTMLStringFunction | TagDescriptorInterface, customContainerClass?: string) => HTMLElement; export {};