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.
20 lines (19 loc) • 582 B
TypeScript
import { SvgIconComponent } from "@mui/icons-material";
import { iconsSVG } from "../components/Svgs";
import { IconColors, IconScale } from "../types";
export interface ServiceCardProps {
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;
}