UNPKG

@clayui/icon

Version:
20 lines (19 loc) 596 B
/** * SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com> * SPDX-License-Identifier: BSD-3-Clause */ import React from 'react'; export declare const ClayIconSpriteContext: React.Context<string>; interface IProps extends React.SVGAttributes<SVGSVGElement> { className?: string; /** * Path to the location of the spritemap resource. */ spritemap?: string; /** * The id of the icon in the spritemap. */ symbol: string; } declare const Icon: React.ForwardRefExoticComponent<IProps & React.RefAttributes<SVGSVGElement>>; export default Icon;