UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

12 lines (11 loc) 567 B
import type React from "react"; import type { IconColorsType } from "../Icon"; type BaseColor = "base" | "accent" | "warning" | "error" | "success" | "connect" | "keyExchange" | "disabled" | "info" | "driver" | "owner"; type WithBackgroundColor = `${BaseColor}Alt`; export type ContainedIconPropsType = { icon: React.JSX.Element; color?: IconColorsType | BaseColor | WithBackgroundColor; className?: string; }; export declare function ContainedIcon({ icon, color, className, }: ContainedIconPropsType): import("react/jsx-runtime").JSX.Element; export {};