UNPKG

@atlaskit/object

Version:

An object is an icon that represents an Atlassian-specific content type.

18 lines (17 loc) 624 B
import React from 'react'; import type { NewIconProps } from '@atlaskit/icon/types'; import type { TileProps } from '@atlaskit/tile/types'; import { type ObjectTileProps } from './types'; type ObjectTileBaseProps = ObjectTileProps & { icon: React.ComponentType<NewIconProps>; color: NewIconProps['color']; backgroundColor: TileProps['backgroundColor']; }; /** * __Object tile base__ * * An object tile represents an Atlassian-specific content type. * */ export default function ObjectTileBase({ label, size, testId, color, backgroundColor, icon: Icon, }: ObjectTileBaseProps): React.JSX.Element; export {};