@liner-fe/prism 2.1.31 → 2.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Icon/index.d.ts +2 -1
- package/lib/index.cjs.map +2 -2
- package/lib/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { VariantProps } from 'cva';
|
|
|
2
2
|
import { IconKey, IconMapType } from '../../type';
|
|
3
3
|
import { SystemKeys } from '@liner-fe/design-token';
|
|
4
4
|
import { BasicColorType } from '../../types/color';
|
|
5
|
+
import { SVGProps } from 'react';
|
|
5
6
|
declare const iconSizeMap: {
|
|
6
7
|
readonly xs: 16;
|
|
7
8
|
readonly s: 20;
|
|
@@ -24,7 +25,7 @@ declare const iconVariants: (props?: ({
|
|
|
24
25
|
export declare const getIconComponent: (iconKey: IconKey, map: IconMapType) => import("../../type").IconComponent;
|
|
25
26
|
export type IconSizeKey = keyof typeof iconSizeMap;
|
|
26
27
|
export type IconColorType = Extract<SystemKeys, BasicColorType>;
|
|
27
|
-
export interface IconProps extends VariantProps<typeof iconVariants> {
|
|
28
|
+
export interface IconProps extends VariantProps<typeof iconVariants>, Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
28
29
|
name: IconKey;
|
|
29
30
|
type?: IconColorType;
|
|
30
31
|
fillType?: IconColorType;
|