npm package diff
Package: @forge/react
Versions: 11.2.1 - 11.2.2-next.0
File: package/out/components/index.d.ts
Index: package/out/components/index.d.ts
===================================================================
--- package/out/components/index.d.ts
+++ package/out/components/index.d.ts
@@ -1,5 +1,5 @@
-import { ForgeElement, MarkupProps, NativeImageProps as ImageProps, NativeLinkProps as LinkProps, NativeUserPickerProps as UserPickerProps, UserGroupProps, FrameProps } from '../types/index';
+import { ForgeElement, MarkupProps, NativeLinkProps as LinkProps, NativeUserPickerProps as UserPickerProps, UserGroupProps, FrameProps } from '../types/index';
import { CheckboxGroupProps as UIKitCheckboxGroupProps } from '@atlaskit/forge-react-types';
export { DynamicTable } from './dynamic-table';
export { InlineEdit } from './inline-edit';
export { Popup } from './popup';
@@ -15,8 +15,20 @@
*
* @see [User](https://developer.atlassian.com/platform/forge/ui-kit/components/user/) in UI Kit documentation for more information
*/
export declare const User: (props: UserProps) => ForgeElement;
+export interface ImageProps {
+ src: string;
+ alt?: string;
+ size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
+ height?: string | number;
+ width?: string | number;
+}
+/**
+ * An image component to display images.
+ *
+ * @see [Image](https://developer.atlassian.com/platform/forge/ui-kit/components/image/) in UI Kit documentation for more information
+ */
export declare const Image: (props: ImageProps) => ForgeElement;
export declare const Link: (props: LinkProps) => ForgeElement;
export declare const UserPicker: (props: UserPickerProps) => ForgeElement;
export declare const UserGroup: (props: UserGroupProps) => ForgeElement;