@loke/icons
Version:
A Loke icon library package for React applications.
22 lines (21 loc) • 873 B
TypeScript
import type { IconNode, LokeProps } from "./types";
interface IconComponentProps extends LokeProps {
iconNode: IconNode;
}
/**
* Loke icon component
*
* @component Icon
* @param {object} props
* @param {string} props.color - The color of the icon
* @param {number} props.size - The size of the icon
* @param {number} props.strokeWidth - The stroke width of the icon
* @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width
* @param {string} props.className - The class name of the icon
* @param {IconNode} props.children - The children of the icon
* @param {IconNode} props.iconNode - The icon node of the icon
*
* @returns {ForwardRefExoticComponent} LokeIcon
*/
declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconComponentProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
export default Icon;