@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian apps.
29 lines (28 loc) • 863 B
TypeScript
import { type ReactNode } from 'react';
/**
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export type SkeletonPrimaryButtonProps = {
/**
* Text content to be displayed inside the skeleton button.
*/
text?: ReactNode;
/**
* Children to be displayed inside the skeleton button.
* Renders if `text` prop not set
*/
children?: ReactNode;
/**
* Sets the appearance of the skeleton button to look like a dropdown button.
*/
isDropdownButton?: boolean;
/**
* Sets the appearance of the skeleton button to look highlighted.
*/
isHighlighted?: boolean;
/**
* A unique string that appears as a data attribute `data-testid` in the rendered code,
* serving as a hook for automated tests.
*/
testId?: string;
};