@assemble-inc/core
Advanced tools
Comparing version
import React from 'react'; | ||
export type IconLabelPairProps = { | ||
image?: string; | ||
alt?: string; | ||
icon?: string | React.ReactNode; | ||
iconSize?: "big" | "small" | "large" | "mini" | "tiny" | "huge" | "massive"; | ||
imageSize?: string; | ||
textColor?: string; | ||
label: string; | ||
className?: string; | ||
labelColor?: string; | ||
labelElement: string | React.FunctionComponent<any>; | ||
}; | ||
export declare const IconLabelPair: ({ image, alt, icon, iconSize, imageSize, textColor, label, className, labelElement }: IconLabelPairProps) => JSX.Element; | ||
export type ImageProps = { | ||
icon?: never; | ||
iconColor?: never; | ||
iconSize?: never; | ||
image: string; | ||
imageSize?: string; | ||
alt?: string; | ||
}; | ||
export type IconProps = { | ||
icon: string | React.ReactNode; | ||
iconColor?: string; | ||
iconSize?: "big" | "small" | "large" | "mini" | "tiny" | "huge" | "massive"; | ||
image?: never; | ||
imageSize?: never; | ||
alt?: never; | ||
}; | ||
export declare const IconLabelPair: ({ image, alt, icon, iconSize, iconColor, imageSize, labelColor, label, className, labelElement }: IconLabelPairProps & (ImageProps | IconProps)) => JSX.Element; | ||
export default IconLabelPair; |
{ | ||
"name": "@assemble-inc/core", | ||
"version": "0.4.36", | ||
"version": "0.4.37", | ||
"description": "Assemble Component Library", | ||
@@ -5,0 +5,0 @@ "author": "Assemble Frontend Team", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
730651
0.02%12915
0.09%