norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
21 lines (20 loc) • 563 B
text/typescript
import { SvgIconComponent } from "@mui/icons-material";
import { iconsSVG } from "../components/Svgs";
import { IconColors, IconScale } from "../types";
export interface ServiceCardProps {
// service: string;
title?: string;
description: string;
onClick?: () => void;
disabled?: boolean;
icon?: {
bgColor?: string;
iconColor?: string;
iconName?: keyof typeof iconsSVG | SvgIconComponent;
iconWidth?: string | number;
iconHeight?: string | number;
scale?: IconScale;
}
borderColor?: string;
color?: IconColors | string;
}