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.
19 lines (16 loc) • 493 B
text/typescript
import { ComponentProps } from 'react';
import { IconScale, IconColors, IconType } from '../types';
import { Svg } from '../components/Icons';
import { SvgIconComponent } from '@mui/icons-material';
export interface IconsProps extends ComponentProps<typeof Svg> {
useSymbol?: boolean;
scale?: IconScale;
color?: IconColors;
width?: number | string;
height?: number | string;
fill?: string;
icon: SvgIconComponent | IconType;
}
export interface SvgProps {
inline?: boolean;
}