@navinc/base-react-components
Version:
Nav's Pattern Library
33 lines (32 loc) • 712 B
TypeScript
import type { VariationType } from './types';
export declare const defaultVariation = "info";
export declare const variations: {
info: {
background: string;
color: string;
iconColor: string;
};
error: {
background: string;
color: string;
iconColor: string;
};
success: {
background: string;
color: string;
iconColor: string;
};
};
export declare const getVariationProps: (variation: VariationType) => {
background: string;
color: string;
iconColor: string;
} | {
background: string;
color: string;
iconColor: string;
} | {
background: string;
color: string;
iconColor: string;
};