@atlaskit/object
Version:
An object is an icon that represents an Atlassian-specific content type.
16 lines (15 loc) • 471 B
TypeScript
import React from 'react';
import type { NewIconProps } from '@atlaskit/icon/types';
import { type ObjectProps } from './types';
type ObjectBaseProps = ObjectProps & {
icon: React.ComponentType<NewIconProps>;
color: NewIconProps['color'];
};
/**
* __Object base__
*
* An object represents an Atlassian-specific content type.
*
*/
export default function ObjectBase({ label, size, testId, color, icon: Icon, }: ObjectBaseProps): React.JSX.Element;
export {};