UNPKG

@activecollab/components

Version:

ActiveCollab Components

36 lines 1.27 kB
import React from "react"; /** * @component CircleSlashIcon * @description * * The React Icon component is a visual element that displays an icon to represent a concept, object, or action. * The Icon component is * customizable, allowing for variations in size, color, and style to fit the needs of the application. * * A ring (based on CircleIcon) crossed by a single diagonal line at 45 degrees, * running from the bottom-left to the top-right. The slash matches the ring's * stroke weight (~2.222 units). * * @prop {string} [gradient] - Optional CSS linear-gradient string to apply a custom fill. * Format: "linear-gradient(<angle>deg, <color1>, <color2>, ...)" * * @example * return ( * <CircleSlashIcon gradient="linear-gradient(135deg, #4da2ed, #f72222)" /> * ) * * @example * return ( * <CircleSlashIcon className="mr-2" /> * ) * * @see * https://system.activecollab.com/?path=/story/foundation-icons-icons--icons * @see * https://design.activecollab.com/docs/foundations/icons */ declare const CircleSlashIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement> & { gradient?: string; }, "ref"> & React.RefAttributes<SVGSVGElement>>; export default CircleSlashIcon; //# sourceMappingURL=CircleSlashIcon.d.ts.map