@welcome-ui/icon
Advanced tools
Comparing version 5.17.1 to 5.22.1
@@ -5,8 +5,8 @@ import React from 'react'; | ||
type IconContent = { | ||
width?: number; | ||
block?: string; | ||
height?: number; | ||
block?: string; | ||
isFlag?: boolean; | ||
stroked?: boolean; | ||
isFlag?: boolean; | ||
viewBox?: string; | ||
width?: number; | ||
}; | ||
@@ -17,5 +17,5 @@ type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string; | ||
name?: string; | ||
onClick?: (event: React.MouseEvent<SVGSVGElement>) => void; | ||
size?: Size; | ||
title?: string; | ||
onClick?: (event: React.MouseEvent<SVGSVGElement>) => void; | ||
} | ||
@@ -22,0 +22,0 @@ export type IconProps = CreateWuiProps<typeof S.Icon, IconOptions>; |
@@ -5,8 +5,8 @@ import { Theme } from '@xstyled/styled-components'; | ||
export declare const Icon: import("styled-components").StyledComponent<"svg", Theme, Pick<IconOptions, "size"> & Pick<{ | ||
width?: number; | ||
block?: string; | ||
height?: number; | ||
block?: string; | ||
isFlag?: boolean; | ||
stroked?: boolean; | ||
isFlag?: boolean; | ||
viewBox?: string; | ||
width?: number; | ||
}, "isFlag" | "stroked"> & WuiProps & Partial<{ | ||
@@ -13,0 +13,0 @@ alt: string; |
{ | ||
"name": "@welcome-ui/icon", | ||
"version": "5.17.1", | ||
"version": "5.22.1", | ||
"description": "Customizable design system with react • styled-components • styled-system and ariakit.", | ||
@@ -56,5 +56,5 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "3ca864dc3e19bb9f73bee9f5d4a430d941b9c65e", | ||
"gitHead": "999d17226d01662592c64642ca17c21cf7ab1012", | ||
"sideEffects": false, | ||
"homepage": "https://welcome-ui.com/components/icons" | ||
} |