@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian products.
26 lines (25 loc) • 751 B
TypeScript
import { ReactNode } from 'react';
export declare 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;
};