@clayui/icon
Version:
ClayIcon component
21 lines (20 loc) • 672 B
TypeScript
/**
* SPDX-FileCopyrightText: (c) 2026 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
import React from 'react';
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;
export { ClayIconSpriteContext };